I was having problems building 7Dec15 - getting a 'cannot find -lkokkos'
message at link time and traced the problem to the line commented out
in src/KOKKOS/Install.sh ...
# sed -i -e 's|^PKG_PATH =[ \t]*|&-L..\/..\/lib\/kokkos\/core\/src |' ../Makefile.package
I reactivated the line and changed the path to ../../lib/kokkos/core and
src/Makefile.package now has -L../../lib/kokkos/core where I believe it should
appear.
Why are the lines editing PKG_PATH and PKG_SYSPATH commented
out in the first place? Was src/KOKKOS/Install.sh a work in progress at
distribution time?
Best regards,
Phil
P. A. Cheeseman
[email protected]...
765.496.8224
I was having problems building 7Dec15 - getting a 'cannot find -lkokkos'
message at link time and traced the problem to the line commented out
in src/KOKKOS/Install.sh ...
# sed -i -e 's|^PKG_PATH =[ \t]*|&-L..\/..\/lib\/kokkos\/core\/src |' ../Makefile.package
I reactivated the line and changed the path to ../../lib/kokkos/core and
src/Makefile.package now has -L../../lib/kokkos/core where I believe it should
appear.
no, i don't think so. i have been testing compiling KOKKOS recently
and had no problems.
you may need to upgrade to a more recent version of LAMMPS. KOKKOS has
seen much testing and many bugfixes in the last three months.
Why are the lines editing PKG_PATH and PKG_SYSPATH commented
out in the first place? Was src/KOKKOS/Install.sh a work in progress at
distribution time?
no. the way i read the diffs is that the build process was changed, so
that libkokkos.a is built in the Obj_<machine> directory and thus no
linker path to the lib directory is required anymore.
axel.