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