#
# Define the following global variables according to your environment and
# source the script or add these definitions to your .cshrc file and 
# source ~/.cshrc

# PLEASE NOTE THAT THE GFORTRAN COMPILER IS USED TO COMPILE JJGEN SINCE THIS PROGRAM DOES NOT COMPILE WITH PGF
#
# For Linux, pgf 
# ---------------------------------------------------
export    FC=pgf95                                        # Fortran compiler
export    FC_FLAGS="-mcmodel=medium -Msave -O3 -fastsse"  # Serial code compiler flag 
export    FC_LD="-Bstatic"                                # Serial linker flags
export    GRASP="$/home/XXXXXX/grasp2K_v1_1"              # Location of the grasp2K_v1_1 directory SHOULD BE DEFINED BY THE USER!!!!
export    LAPACK_LIB="-llapackd -llapacku -lblas"         # Library to be searched
export    LAPACK_DIR="${GRASP}/lib"                       # Location of LAPACK library
export    GRASPLIBS="-l92 -lnjgraf -ldvdson"              # Libraries to be searched by v1 and v2 code
export    NEWGRASPLIBS="-lrang -l92 -ldvdson"             # Libraries to be searched by v3 code
export    FC_MALLOC="LINUX"                               # Memory allocation routine (available for Linux and other systems)
export    GRASP_INCLUDES="${GRASP}/src/lib/def"           # Location of parameter definition file

export    F90=pgf95                                       # Fortran compiler
export    F90_FLAGS="-mcmodel=medium -Msave -O3 -fastsse" # Serial code compiler flag

export    cpp="g++"                                       # C++ compiler
export    cpp_FLAGS="-O3"                                 # C++ compiler flags
export    cpp_LD="-static"                                # C++ linker

# ---------------------------------------------------
# For running MPI
#
export    FC_MPI="mpif90"
export    FC_MPIFLAGS="-mcmodel=medium -Msave -O3 -fastsse"
export    FC_MPILD="-Mmpi -Bstatic"
export    MPI_TMP="${WORKDIR}/tmp"
