ManeLippert/Bachelorthesis-Shearingrate-Convergence

Compile gkw code

Closed this issue · 5 comments

Try to run gkw code on local machine with testfiles

Use bashrc_btrxz1 for modules and bibs

Jobscript runs with SLURM with file jobscript_btrzx1_simple over sbatch

Created File .bash_profiles

# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
    . "$HOME/.bashrc"
fi

and renamed bashrc_btrxz1 to .bashrc

Can not find fftw3.f file

File: /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/include/

Module: /opt/ohpc/pub/moduledeps/intel/fftw/3.3.10

#%Module1.0#####################################################################

proc ModulesHelp { } {

puts stderr " "
puts stderr "This module loads the fftw library built with the intel compiler"
puts stderr "toolchain and the intel MPI stack."
puts stderr "\nVersion 3.3.10\n"

}
module-whatis "Name: fftw built with intel compiler and intel MPI"
module-whatis "Version: 3.3.10"
module-whatis "Category: runtime library"
module-whatis "Description: A Fast Fourier Transform library"
module-whatis "URL http://www.fftw.org"

set     version                     3.3.10

prepend-path    PATH                /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/bin
prepend-path    MANPATH             /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/share/man
prepend-path    INCLUDE             /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/include
prepend-path    LD_LIBRARY_PATH     /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/lib
prepend-path    PKG_CONFIG_PATH     /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/lib/pkgconfig

setenv          FFTW_DIR        /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/
setenv          FFTW_LIB        /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/lib
setenv          FFTW_INC        /opt/ohpc/pub/libs/intel/fftw/fftw-3.3.10/include

In gkw/config/l1/default.mk is the makefile for btrzx1-1

Just execute make in the gkw folder