Fortran compiler on workstation in the Saito group

For new tube

  1. /home/skel/cshrc (which is symbolic linked to /home1/skel/cshrc-newtube) should be read in ~/.cshrc
  2. For superuser, when you make a newtube machine, set /home/skel/cshrc like
    # cd /home
    # mkdir skel
    # cd skel
    # ln -s /home1/skel/cshrc-newtube cshrc
    (Do not copy cshrc-newtube there, since we will fix it each time.)
  3. A typical example of the command is as follows.
    cp /rsaito/for/Jugyo/zheev.f90 .
    ifort zheev.f90 -o a.out -O3 -xS -L$MKLROOT/lib/em64t -I$MKLROOT/include -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_lapack -lmkl -lmkl_core -lmkl_p4n -lguide -lpthread
    or
    ifort zheev.f90 -o a.out -L$MKLROOT/lib/em64t -lmkl_em64t -lmkl_core -lguide -lpthread
    ./a.out
  4. A typical example of Makefile is as follows
    (Please make an example)
  5. -xS option of ifort is a special option for CPU new features which makes fast!
  6. ifort -V will give you what kind intel compiler is used
  7. library is for em64t, (we can not use 64)
  8. we can use gcc lapac, and 32bit compiler, too. We have checked to run this.
  9. However we will not show how to use gcc lapack and 32bit compiler here.

For flex


Front page   New Page list Search Recent changes   Help   RSS of recent changes