lammps/lib/latte/Makefile.lammps.gfortran

28 lines
1.2 KiB
Makefile
Raw Normal View History

2016-11-10 04:48:11 +08:00
# Settings that the LAMMPS build will import when this package is installed
2016-11-14 22:58:47 +08:00
# Change all the flags and paths accordingly
# If using PROGRESS/BML set PROGRESS to ON
# For more information about these libraries see:
2017-09-16 07:52:14 +08:00
# BML: https://github.com/lanl/bml
2016-11-14 22:58:47 +08:00
# PROGRESS: https://github.com/losalamos/qmd-progress
# METIS: http://glaros.dtc.umn.edu/gkhome/metis/metis/download
2016-11-14 22:58:47 +08:00
2017-01-20 06:42:09 +08:00
latte_PATH = ${HOME}/LATTE
2016-11-14 22:58:47 +08:00
progress_PATH = ${HOME}/qmd-progress
bml_PATH = ${HOME}/bml
metis_PATH = ${HOME}/Programs/metis-5.1.0
latte_SYSINC = -I${latte_PATH}/src -I${bml_PATH}/install/include -I${progress_PATH}/install/include
2017-01-11 01:56:31 +08:00
#latte_SYSLIB = -fopenmp ${latte_PATH}/src/latte_c_bind.o ${latte_PATH}/liblatte.a -lgfortran \
# -lm -Wl,--no-as-needed -L${MKLROOT}/lib/intel64 -lmkl_lapack95_lp64 -lmkl_gf_lp64 \
# -lmkl_gnu_thread -lmkl_core -lmkl_gnu_thread -lmkl_core -ldl -lpthread -lm
2016-11-14 22:58:47 +08:00
2017-01-06 06:37:01 +08:00
latte_SYSLIB = -fopenmp ${latte_PATH}/src/latte_c_bind.o ${latte_PATH}/liblatte.a -lgfortran \
-llapack -lblas
2017-01-13 07:58:27 +08:00
# Uncomment the following line to use PROGRESS/BML and metis.
2017-03-10 05:30:21 +08:00
#latte_SYSLIB += -L${progress_PATH}/install/lib -lprogress -L${bml_PATH}/install/lib -lbml
2017-01-13 07:58:27 +08:00
#latte_SYSLIB += -L${metis_PATH}/install -lmetis
2016-11-14 22:58:47 +08:00
2016-11-10 04:48:11 +08:00