English version based on Ver.0.2 (6 Mar 2001)
[ Japanese ]
In this document, applications and libraries on SX-5 are explained.
(Based on documents provided by NEC)
Examples are presented based on csh.
1. STREAM
Setting environment
set path=(/usr/apl/bin $path)
Execution command
stream211V < input.dat > stdout
(*) input.dat is input data file.
stdout is the standard output file.
2. LS-DYNA
Setting environment
set path=(/usr/apl/bin $path)
Execution command
For 1 CPU
ls950 i=input.dat
For 2 CPU
ls950 i=input.dat ncpu=2
(*) input.dat is input data file.
On multi-processor, up to 4 CPU is recommended.
3. TotalView
Setting environment
set path=(/usr/apl/bin $path)
Workstation side
xhost +
SX5 side
setenv DISPLAY ews:0
or
setenv DISPLAY xx.xx.xx.xx:0
Execution command
totalview &
(*) ews is a name of workstation.
xx.xx.xx.xx is the IP address.
When one compile the analyzed program,
-g option must be included.
Notice:
TotalView ver.1.0 does not support the following operations.
.debug of program using fork()/execve()
.debug of shared-memory parallel program
(OpenMP, macrotask, microtask)
.debug of MPI program
.debug of HPF program
.debug of C++/SX program
4. Gaussian98
Setting environment
setenv GAUSS_EXEDIR /usr/apl/g98
Execution command
${GAUSS_EXEDIR}/g98 < input.com >& stdout
(*) input.dat is input data file.
stdout is the standard output file.
5. MSC. NASTRAN
Setting environment
set path=(/usr/apl/bin $path)
Execution command
nast707r3 input.dat
(*) input.dat is input data file.
6. IMSL
Setting environment
source /usr/apl/imsl/CTT2.1/ctt/bin/cttsetup.csh
Execution command
f90 $F90FLAGS -o sample sample.f $LINK_F90
7. NAG
Setting environment
not needed.
Execution command
f90 -Pstack sample.f -L/usr/apl/MathKeisan -llapack -lblas -lnag
(*) LAPACK, BLAS included in MathKeisan are tuned for SX5.
8. Cernlib
Setting environment
not needed.
Place of library: stored below
/usr/apl/CERNLIB98
in addition, RCNP node (sx57) also has /usr/apl/CERNLIB97a
(SX41 had CERNLIB97a and it was kept.).
Execution command
f90 sample.f -L/usr/apl/CERNLIB98 -lpacklib
-- CERNLIB2000 --
Cernlib2000 is now under translation.
The options verified are released one by one.
MATHLIB, PHTOOLS of CERNLIB2000の are installed in the directory
/usr/apl/CERNLIB2000:
-r--r--r-- 1 bin bin 19816628 Feb 19 16:05 libmathlib.a
-r--r--r-- 1 bin bin 211576 Feb 19 17:07 libphtools.a
Linking is done by setting path as follows.
(There is no symbolic link to the standard directory (/usr/lib))
since total environment has not ready and three types of CERNLIB
exist.)
f90 test.f -L/usr/apl/CERNLIB2000 -lmathlib -lphtools
or
f90 test.f /usr/apl/CERNLIB2000/mathlib.a /usr/apl/CERNLIB2000/libphtools.a
(Cernlib2000: 6 Mar 2001)
Supercomputer [ English / Japanese ]