| HARDWARE | SOFTWARE | ||||||||||||||||||||||||||||
|
|
Before any login sessions can be initiated using ssh, a working SSH client (version 2) needs to be present in the local machine.
To initiate a ssh connection to a machine, type the following on the local workstation
Note that the <login-name> is only needed if the user name on remote machine differs from the user name on the workstation.
ssh [<login-name>@]hokule.sissa.it;
To change the password:
IMPORTANT:passwd
chage -l <USERNAME>
Check your environment with the env command. You should be careful modifying the shell customization files (.cshrc .profile .login .bashrc), since they could overwrite the default values altering the behaviour of the compilers and of the batch queuing system.
Plase note that interactive login is only allowed on the master node. Computing nodes are accessed only through the master node.
"For performance reasons, Linux NFS code caches information at the client and delays updating some state information, such as file size and modification times. Information reported by an NFS client may therefore differ from the GPFS file system on the NFS server node."
| Vendor/Source | Compilers | Documentation |
|---|---|---|
| Intel | Fortran 77/90/95 |
/net/shared/intel/intel_fc_80/docs/ /net/shared/intel/compiler70/docs/ ifort -help ifc -help [Intel Software Download] |
| Portland Group (PGI) | Fortran 77, Fortran 90, C, C++, HPF | http://www.pgroup.com/prodcdk.htm |
| GNU | Fortran 77, C, C++ | http://gcc.gnu.org/onlinedocs/ |
The following table show the name of the compilers:
| Vendor/Source | C compiler | C++ compiler | F77 compiler | F90/95 compiler |
| GNU | gcc | g++ | g77 | N/A |
| Portland Group(3.2.4) | pgcc | pgCC | pgf77 | pgf90 |
| Intel v7.1 [1] | N/A | N/A | ifc | ifc |
| Intel v8.0 | N/A | N/A | ifort | ifort |
| Intel v8.1 [2] | N/A | N/A | ifort | ifort |
[2] in order to load ifc-8.1 environment, use the following command:source /net/shared/intel/compiler70/ia32/bin/ifcvars.csh (tcsh users) source /net/shared/intel/compiler70/ia32/bin/ifcvars.sh (bash users)
source /net/shared/intel/intel_fc_8.1/bin/ifortvars.csh (tcsh users) source /net/shared/intel/intel_fc_8.1/bin/ifortvars.sh (bash users)
#!/bin/sh ### Specification of which queue to submit to: #PBS -q medium ### Name of program as it will appear in the queue-list #PBS -N nameofmyprog ### Make PBS look in the directory where the command was submitted from: cd $PBS_O_WORKDIR ### execute the program: ./myprog.exeThen submit myscript.sh using the command:
qsub myscript.shIf everything goes well, you should get back the job id which could look something like:
80.hokule.linuxfarm.sissa.itand your job has been placed in the queue. It will execute when enough resources becomes available.
man qsub
qstat -a
qdel JOBID(the JOBID can be found using qstat -a)
qkill -s SIGKILL JOBID
# qstat -q
server: hokule
Queue Memory CPU Time Walltime Node Run Que Lm State
---------------- ------ -------- -------- ---- --- --- -- -----
verylong -- 72:00:00 -- -- 0 0 6 E R
long -- 12:00:00 -- -- 0 0 10 E R
medium -- 04:00:00 -- -- 0 0 10 E R
small -- 01:00:00 -- -- 1 0 10 E R
default -- -- -- -- 0 0 10 E R
--- ---
lib<COMPILER><LIBNAME>An example for the fftw library is: libifcfftw, libgnufftw, respectively for ifc, g77 compilers. (You can download a silly Makefile.sample)
Note that ORDER *DOES* MATTER when linking against more libraries.
High performance routines for real and complex Discrete Fourier Transforms.
To use them:
g77 foo.f -L/net/shared/lib -lgnufftw ifc foo.f -L/net/shared/lib -lifcfftw pgf77 foo.f -L/net/shared/lib -lpgifftw
To use them:
However users are strongly encouraged to use ATLAS version of this library (see below).
Standard BLAS g77 foo.f -L/net/shared/lib -lgnublas_std (GNU Fortran compiler) ifc foo.f -L/net/shared/lib -lifcblas_std (Intel Fortran compiler 7.1) ifort foo.f -L/net/shared/lib -lifortblas_std (Intel Fortran compiler 8.0)
Linear Algebra PACKage.
Original LAPACK compiled with ifc and g77:
libgnulapack_std.a
libgnutmglib_std.a
libifclapack_std.a
libifctmglib_std.a
libifortlapack_std.a
libiforttmglib_std.a
NOTE: when using LAPACK libraries you have to link the blas libraries too (AFTER lapack, order is important).
Standard LAPACK g77 foo.f -L/net/shared/lib -lgnulapack_std -lgnublas_std (GNU Fortran compiler) ifc foo.f -L/net/shared/lib -lifclapack_std -lifcblas_std (Intel Fortran compiler 7.1) ifc foo.f -L/net/shared/lib -lifortlapack_std -lifortblas_std (Intel Fortran compiler 8.0)
The ATLAS (Automatically Tuned Linear Algebra Software) project is an ongoing research effort focusing on applying empirical techniques in order to provide portable performance. At present, it provides C and Fortran77 interfaces to a portably efficient BLAS implementation, as well as a few routines from LAPACK.
ATLAS does not provide a full LAPACK library. However, we include in a full LAPACK library the ATLAS faster LAPACK routines.
To use them:
ATLAS+LAPACK g77 foo.f -L/net/shared/lib -lgnulapack -lgnublas -lgnuatlas (GNU Fortran compiler) ifc foo.f -L/net/shared/lib -lifclapack -lifcblas -lifcatlas (Intel Fortran compiler 7.1) ifort foo.f -L/net/shared/lib -lifortlapack -lifortblas -lifortatlas (Intel Fortran compiler 8.0) pgf77 foo.f -L/net/shared/lib -lpgilapack -lpgiblas -lpgiatlas (PGI Fortran compiler)
ATLAS+BLAS g77 foo.f -L/net/shared/lib -lgnublas -lgnuatlas (GNU Fortran compiler) ifc foo.f -L/net/shared/lib -lifcblas -lifcatlas (Intel Fortran compiler 7.1) ifort foo.f -L/net/shared/lib -lifortblas -lifortatlas (Intel Fortran compiler 8.0) pgf77 foo.f -L/net/shared/lib -lpgiblas -lpgiatlas (PGI Fortran compiler)
The "Math Kernel Library" consists of functions in the following computational areas:
For running MKL and/or VML, the library directory, name and the include directory needs to be included in your makefile or command line. Below is an example of how to compile and link a program which calls a BLAS function in the MKL.
For additional documentation and reference on MKL, both pdf and html-based, please look in the directory /net/shared/intel/mkl/doc.
To use them:
ifc foo.f -L/net/shared/intel/mkl/lib/32 -lguide -lmkl_lapack -lmkl (Intel Fortran compiler ONLY)
To use LAPACK and BLAS software you must link two libraries: LAPACK and one of the processor specific kernels.
Some possible variants:
ld myprog.o /net/shared/intel/mkl/lib/32/libmkl_lapack.a /net/shared/intel/mkl/lib/32/libmkl_p3.a
32-bit processor static linking, LAPACK library, Pentium III processor kernel.ld myprog.o /net/shared/intel/mkl/lib/32/libmkl_lapack.a /net/shared/intel/mkl/lib/32/libmkl_p4.a
32-bit processor static linking, LAPACK library, Pentium 4 processor kernel.ld myprog.o /net/shared/intel/mkl/lib/32/libmkl.so -lguide -lpthread
32-bit processor dynamic linking. DLL dispatcher will load the appropriate dll for the processor dynamic kernel.