Menu

compiling and running Elk on cluster with slurm

Elk Users
Anastasia
2017-12-04
2018-01-08
  • Anastasia

    Anastasia - 2017-12-04

    Dear All.

    I need to compiling elk code on the cluster, but I can't create make.inc file with setup. If someone have the make.inc file for compiling on cluster (intel fortran compiler 2017 and mpi). And another question. how can i run elk on cluster with slurm?

    Thank you.

     
  • mfechner

    mfechner - 2018-01-08

    Dear Anastaisa,

    this a MPI variant for make.inc to compile elk but I strongly suggest you to consult the administrators of your cluster to have a look on it. Moreover, they also could provide you with an example input script.

    best regards
    Michael

    MKLROOT = /cluster/intel/mkl
    MAKE = make
    F90 = mpif90
    F90_OPTS = -O3 -ip -openmp -I$(MKLROOT)/include
    F77 = mpif90
    F77_OPTS = -O3 -ip -openmp
    AR = ar
    LIB_SYS =
    LIB_LPK = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm -openmp -lfftw3_threads -lfftw3
    SRC_MPI =
    SRC_FFT = zfftifc.f90

     

Log in to post a comment.