Looks like mpicc on the target host isn't finding cpi.c at first glance. A good way to "walk through" your script commands is to interactively run your job.
qsub -I -N my_interactive_job -l nodes=#
etc...
Then try to run your script commands one at a time and find out where the problem is-


Jeremy

At 01:03 PM 7/5/2003 -0400, David Gutierrez wrote:
Hi:

why am i getting the following errors execution de following job?

#PBS -N TEST
#PBS -o outputfile
#PBS -e errorfile
#PBS -m  abe
#PBS -M  [EMAIL PROTECTED]
#PBS -q workq
mpicc cpi.c -o cpi.c.cc
mpirun -machinefile $PBS_NODESFILE -np 4 cpi.c.cc

in the error file i got:

cc: cpi.c: No such file or directory

and in the outputfile i got:

Warning: Command line arguments for program should be given
after the program name.  Assuming that cpi.c.cc is a
command line argument for the program.
Missing: program name
Program 4 either does not exist, is not
executable, or is an erroneous argument to mpirun.


but the really rare thing is that when i execute mpicc by hand out of the script and then qsub cpi.c.cc everything is Ok.

Any clue?






------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users



------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to