[comp.sys.sgi] schedctl call from fortran

torda@igc.ethz.ch (Andrew Torda ) (01/15/91)

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