Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!eagle!news From: xxrich@alliant1.lerc.nasa.gov (Rich Rinehart) Newsgroups: comp.sys.alliant Subject: Re: job classes Message-ID: <1990Aug14.115752.23746@eagle.lerc.nasa.gov> Date: 14 Aug 90 11:57:52 GMT References: <1990Aug10.112530.720@eagle.lerc.nasa.gov> <4059@alliant.Alliant.COM> Organization: NASA Lewis Research Center, Cleveland Ohio Lines: 40 In article <4059@alliant.Alliant.COM> cantrell@alliant.Alliant.COM (Paul Cantrell) writes: >In article <1990Aug10.112530.720@eagle.lerc.nasa.gov> xxrich@alliant1.lerc.nasa.gov (Rich Rinehart) writes: >>I'm running an intel hypercube simulator and am having trouble getting the >>forked processes it generates to run on individual ce's (they always >>want to run on the complex). I've tried running the simulator using the >>'execute -ce` command, but any generated processes (it generates a process for >>every node of the hypercube that you simulate) still run on the complex. (?) >> > >How about a little more information on how it generates the processes. Does >it simply fork, or does it fork/exec, or does it do a 'system()' call? If in a quick glance it looks like it just does a 'fork()' >it simply forks, things should be fine. However, if you do an exec of another >executable, that process will then be set to run on the complex if it has >been compiled that way. The same would be true of the unix 'system()' call, >since this actually exec()'s a shell, and then the target. > >The easiest thing is probably to just compile the program(s) with -Ogv ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ glad to hear you say that as that is what i thought too. -Ogv is not enough on the the link though, as -nc is needed. (not intuitively obvious) ex: via makefiles..... fortran -c node.f fortran -Ogv -o n node.o /usr/local/intel/bsimlib.a -wants to run on the complex fortran -c node.f fortran -Ogv -nc -o node node.o /usr/local/intel/bsimlib.a -makes it run on individual ce's, which is what i wanted. -- ----------------------------------------------------------------------------- Rich Rinehart | phone: 216-433-5211 NASA Lewis Research Center | email: xxrich@alliant1.lerc.nasa.gov -----------------------------------------------------------------------------