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
    ./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

  1. It is generally allowed to use flex for running a program on flex,
  2. flex is used, NFS, Web, and mail server.
  3. But a very short program (less than 1min), you can run the program.
  4. A typical example of the command is as follows.
    ifort zheev.f90 -L/opt/intel/mkl/9.1.023/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread
    ./a.out

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