forked from lijiext/lammps
having plain filelink instead of filelink.o confuses KOKKOS linking with nvcc
This commit is contained in:
parent
836a6d292c
commit
e6969002ce
|
@ -159,13 +159,13 @@ if buildflag or pathflag:
|
|||
os.remove("includelink")
|
||||
if os.path.isfile("liblink") or os.path.islink("liblink"):
|
||||
os.remove("liblink")
|
||||
if os.path.isfile("filelink") or os.path.islink("filelink"):
|
||||
os.remove("filelink")
|
||||
if os.path.isfile("filelink.o") or os.path.islink("filelink.o"):
|
||||
os.remove("filelink.o")
|
||||
cmd = 'ln -s "%s/src" includelink' % lattedir
|
||||
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
||||
cmd = 'ln -s "%s" liblink' % lattedir
|
||||
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
||||
cmd = 'ln -s "%s/src/latte_c_bind.o" filelink' % lattedir
|
||||
cmd = 'ln -s "%s/src/latte_c_bind.o" filelink.o' % lattedir
|
||||
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
|
||||
|
||||
# copy Makefile.lammps.suffix to Makefile.lammps
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
# GNU Fortran settings
|
||||
|
||||
latte_SYSINC =
|
||||
latte_SYSLIB = ../../lib/latte/filelink -llatte -lgfortran -llapack -lblas
|
||||
latte_SYSLIB = ../../lib/latte/filelink.o -llatte -lgfortran -llapack -lblas
|
||||
latte_SYSPATH = -fopenmp
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Intel ifort settings
|
||||
|
||||
latte_SYSINC =
|
||||
latte_SYSLIB = ../../lib/latte/filelink \
|
||||
latte_SYSLIB = ../../lib/latte/filelink.o \
|
||||
-llatte -lifcore -lsvml -lompstub -limf -lmkl_intel_lp64 \
|
||||
-lmkl_intel_thread -lmkl_core -lmkl_intel_thread -lpthread \
|
||||
-openmp -O0
|
||||
|
|
Loading…
Reference in New Issue