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

Reply via email to