DCSC logo
 
ABOUT-DCSC
DCSC/SDU
DCSC/AU
DCSC/AAU
DCSC/DTU
DCSC/KU
 
+Open all         -Close all
 
    Overview   Hardware   Software   Batchjobs   Hints  

 

Hints and FAQ for Freke

Q1: Warning: no access to tty (Bad file descriptor). Thus no job control in this shell.
Q2: Which compilers are availbale, and how to get more informations.
Q3: How to compile, link and run MPI-programs
Q4: Which mathamatical libraries are available
Q5: How to ensure that a job isn't started before another job has terminated
Q6: How to switch between different versions of the compiler.
Q7: How do I review the messages flashing over the screen when I log in.


Q1: Warning: no access to tty (Bad file descriptor). Thus no job control in this shell.
  This message will typically occur in joboutput from the queueing system.
This is an old and wellknown "bug" in tcsh/csh, just telling, that no keyboard is attached to the job.
These messages can be safely ignored!
Top  

Q2: Which compilers are availbale, and how to get more informations.
  The Intel vers. 8.1 compilers are available. See man ifort and man icc for detailed informations.
Top  

Q3: How to compile, link and run MPI-programs
  The MPI implementation on Freke is based on the MPI 1.2 standard enhanced by some of the MPI-2 features.
To compile and link, use:
    ifort myprogram.f -lmpi
To run the MPI-program, use:
    mpirun -np 4 ./a.out
The corresponding batchjob must be submitted with: qsub -l ncpus=4 jobscript
See also man mpi and man mpirun
Top  

Q4: Which mathamatical libraries are available
  MKL, the Intel Math Kernel Library vers. 7.2 and
SCSL, the Scientific Computing Software Library are installed.
To use MKL follow this recipe:
    ifort -O3 -static-libcxa -o diag diag.f -L/opt/intel/mkl72/lib/64 \
          -lmkl_lapack -lguide -lmkl_ipf
To use the SCSL library, use:
    ifort -O3 -o diag diag.f -lscs
See man scsl for further informations about the Cray Library.
See also man sdsm for informations about routines for distributed shared memory. This encompasses the BLACS, SCALAPACK and PBLAS libraries.
See Intel's MKL homepage for further informations about MKL.
Top  

Q5: How to ensure that a job isn't started before another job has terminated
  When submitting the second job, add these arguments to the qsub command: -W depend=afterany:jobid. For example:
    qsub -W depend=afterany:3405 jobscript.sh
This will ensure that the new job isn't started before the job with jobid 3405 has finished. This can be used to submit a series of (non-urgent or mutual dependent ) jobs, which are run one after another.
Top  

Q6: How to switch between different versions of the compiler.
  Currently, the default version of the Intel Fortran compiler is 8.1.024. (verify this with the command: ifort -V)
To see which versions are available, issue the command: module avail. Among other things, there are references to ifort90 indicating that the Intel Fortran compiler version 9.0 is installed.
To activate this compiler in the current shell, type module add ifort90.
Type ifort -V again to verify that you've got the right compiler.
If an executable is made with a non-default compiler, remember also to load the right compiler at runtime, because the shared libraries need to be the ones corresponding to the right compiler version! Submit the jobs with the -V flag to qsub to inherit the compiler environment in batchjobs.
To switch back to the default compiler, do: module rm ifort90
Top  

Q7: How do I review the messages flashing over the screen when I log in.
  Use this command: nyt
Top