schedctl call from fortran

Andrew Torda torda at igc.ethz.ch
Tue Jan 15 19:34:37 AEST 1991


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



More information about the Comp.sys.sgi mailing list