"make.bin" gives you easy understanding about
making of applications. You get 6 applications from it
as follows:
You know,
ch_p4 and ch_gm show
compiled for Ethernet and Myrinet, respectively.
In my case, I use ${MPICH_HOME} and ${MPICH_GM_HOME}
set on own MPICH environment. If you neet to chenge these value,
please edit those part in "make.bin".
I prepare three types of C-flags for the compilation,
MPI_FLAGS, FERMI_TRACE_FLAG,
MPE_FLAG. You will understand what I did to see around
these C-flags in the source codes. I also did not add optimization flags,
if you need them, please edit it.
I hope to make applications is not difficult for you. But to use two running scripts is a little... trouble.
batch4PBS
It's Perl script. You show the usage by the -help option,
and also the default values of options by the -default option.
In the usage, the number and the vaules in the parenthesis mean the
default values. The options are:
-Ethernet/Myrinet-Ethernet or -Myrinet.
-SMP-SMP or not.
-l#-l4,8,12,16. Please do not use
a space in here. Setted lattice sizes are like 4x4x4x8,
8x8x8x16, 12x12x12x24, and 16x16x16x32.
That is, x,y, and z dimension size are the setted number.
t is twice of it on the lattice.
-p#-p1,2,3,4,8.
Please do not use a space in here. If you choose "-SMP"
on 1 node which has 2 cpu(SMP),
this option measn using 1, 1, 2, 2, and 4
node(s), respectively.
-rd<directory>foo" directory, you set like "-rdfoo.
The default value points your current directory.
-default
-help
mpirun is just different from MPICH version.
BUT the difference is very important, because their options are different.
If it does not work on your environment, please check your MPICH_GM version,
and check their options in this script.
run_trace
It's sh script. You show the usage and default parameters by the -help option.
Notice that the options' format is different from batch4PBS.
Each option and its value is separated by a space, not connected like below:
% ./run_trace -n 4 -t Myrinet -i mylattice.in -o myout.log -d foo -s mynodefile bin/su3_rmd...
If you do not know about the input file, refer to three sample input files in the
"samples" directory. I hope you just edit nx, ny, nz, and
nt.
If you throw this script to PBS, you do not mention about $PBS_NODEFILE
in this script. BUT you need to prepare the node file when you wanna do
manually.