Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mailrus!usenet.ins.cwru.edu!eagle!news From: xxrich@alliant1.lerc.nasa.gov (Rich Rinehart) Newsgroups: comp.sys.alliant Subject: Re: job classes Message-ID: <1990Aug16.125150.19780@eagle.lerc.nasa.gov> Date: 16 Aug 90 12:51:50 GMT References: <4059@alliant.Alliant.COM> <1990Aug14.115752.23746@eagle.lerc.nasa.gov> <4067@alliant.Alliant.COM> Organization: NASA Lewis Research Center, Cleveland Ohio Lines: 40 In article <4067@alliant.Alliant.COM> cantrell@alliant.Alliant.COM (Paul Cantrell) writes: >In article <1990Aug14.115752.23746@eagle.lerc.nasa.gov> xxrich@alliant1.lerc.nasa.gov (Rich Rinehart) writes: >>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. > >Right. But what I would have suggested would be: > >fortran -Ogv -c node.f >fortran -o node node.o [stuff deleted] >So the basic problem you had was not specifying the -Ogv switch at the >time that the program got compiled. The reason that the -nc switch caused >the behavior that you desired was that this is indeed a linker switch Thanks Paul for your tutorial, however I believe that if someone puts -Ogv in the link phase it ought to be recognized as -nc. It is certainly less cumbersome for a user to carry around 1 set of options than 2, and it is more intuitive. Getting it wrong can also make your machine perform and look VERY bad. I also don't expect a general user to understand everything that is happening at this level to know to use 2 different sets of options. Additionally, the fact that the linker doesn't complain about -Ogv gives a false sense of security. [stuff deleted] -- ----------------------------------------------------------------------------- Rich Rinehart | phone: 216-433-5211 NASA Lewis Research Center | email: xxrich@alliant1.lerc.nasa.gov -----------------------------------------------------------------------------