HardwareAll machines are 2-way SMPs with dual-core AMD Opteron 265 processors, per core:
|
|
ssh <your-username@optXXYour initial password is your student ID.
On windows, use your favorite ssh client to log in to opt.csc.ncsu.edu.
Then log in to one of the nodes (same as above).
yppasswdThe new password will be effective no later than at the full hour.
gcc -fopenmp -o fn fn.cGcc 4.1 for FC5 is back-patched with the 4.2 OpenMP support. It may not be the fastest but it works.
gcc -o fn fn.c -lpapiMake sure your LD_LIBRARY_PATH is set. See below.
chmod 600 .rhosts
chmod 600 .mpd.conf
export PATH=".:~/bin:/usr/bin:/usr/local/bin:$PATH" export LD_LIBRARY_PATH="/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH"Log out and back in to optXX to activate the new settings.
mpdtraceThis should return a list of available nodes to run MPI jobs on. If not, see below: user-level MPD
mpicc -O3 -o pi pi.cIf you're using BLAS/ATLAS:
mpicc -O3 -o pi pi.c -L/usr/lib64/atlas -lcblas -latlas
mpirun -np 2 piTry again with a different number of processors.
mpiexec -n 2 piTry again with a different number of processors.
MPD_USE_ROOT_MPD=1
mpdboot --ifhn=optmpiYY -n 2 -r rsh --ncpus=4You can now run MPI jobs.
mpdlistjobs
mpdallexit
mpdcleanup
Batch submission is realized via Torque over OpenPBS (coming later: Maui Cluster Scheduler).
On opt, issue:
This applies to: