FAQ
Accounts:
- For getting an account on Neptune, please contact Dr.Kumar (gmkumar AT ncsu.edu)
Connecting:
- From Windows: Please connect to Neptune using your preferred SSH Client(like Putty or F-Secure or SSH Client) and use the address neptune.ce.ncsu.edu
- Resources: Putty | F-Secure | SSH Client
- From *nix: Please connect to Neptune using the address neptune.ce.ncsu.edu
Compiling Parallel programs
- Compile your programs using mpicc/mpiCC/mpif90.
Note: You can use mpif77 to compile Fortran 77 programs.
Eg. For instance, if you wish to compile hello.c/hello.f90/hello.cpp- For C, use mpicc -o hello hello.c
- For Fortran, use mpif90 -o hello hello.f90
- For C++, use mpiCC -o hello hello.cpp
- For C, use mpicc -o hello hello.c
Compiling Serial programs
- Compile your programs using pathcc/pathCC/pathf90.
Note: You can use pathf90 to compile Fortran 77 programs too.
Eg. For instance, if you wish to compile hello.c/hello.f90/hello.cpp- For C, use pathcc -o hello hello.c
- For Fortran, use pathf90 -o hello hello.f90
- For C++, use pathCC -o hello hello.cpp
- For C, use pathcc -o hello hello.c
Running programs
- Using mpirun
For instance, to run program 'hello' on 4 processors, you specify
mpirun -n 4 ./hello - Using mpiexec
Using mpiexec allows you to control job placement and other advanced options.
For instance, say you want to run program 'hello' on 4 processors using the two processors on node2 and one processor each on node3 and node4.- First you create a file with the machines list(say in a file named 'machines') which contains the following:
node2:2
node3
node4
- Then you specify mpiexec to run the program by specifying
mpiexec -machinefile machines -n 4 ./hello
- First you create a file with the machines list(say in a file named 'machines') which contains the following:
- Using qsub
You need to create a job script specifying the resource requirements and then use qsub to submit the job. Details about usage will be posted soon.
» login to post comments
