Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!cernvax!chx400!bernina!igc.ethz.ch!torda From: torda@igc.ethz.ch (Andrew Torda ) Newsgroups: comp.sys.sgi Subject: schedctl call from fortran Message-ID: <1991Jan15.093437@igc.ethz.ch> Date: 15 Jan 91 08:34:37 GMT Sender: news@bernina.ethz.ch (USENET News System) Reply-To: torda@igc.ethz.ch (Andrew Torda D31 5503) Organization: InformatikgestutzteChemie, ETH, Zurich Lines: 17 As the title says, I am having trouble calling schedctl() from fortran (irix 3.3.1, f77 2.0). If I insert a call to schedctl, the compiler is evidently postpending an underscore. The linker says schedctl_ is undefined. Looking in the library, there is, indeed, a schedctl in libI77_mp.a. I want non-degrading process priorities and I want to see what happens if I turn off gang scheduling. A second point. If I ever find my mistake and call schedctl, do I understand the manual entry correctly in that I can call schedctl (NDPRI, 0, NDPHIMAX) and, as a normal user, set my non-degrading priority to some ridiculous value ? -- Andrew Torda, ETH, Zurich