Comments (2)
By default, NJOY21 is compiled using dynamic libraries. If you move the executable, you should move the dynamic library that is generated as well.
As an alternative, you may want to try static compilation:
cmake -D static_libraries=True -D static_njoy21=True -D CMAKE_EXE_LINKER_FLAGS="-static" ../
from njoy21.
@whaeck, With the latest release of 1.2.2
, I got
[ 92%] Linking CXX executable njoy21.Version.test
cd /home/pranto/github/NJOY21/bin/src/njoy21/Version/test && /home/pranto/.local/lib/python3.8/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/njoy21.Version.test.dir/link.txt --verbose=1
/usr/bin/clang++ -g -static CMakeFiles/njoy21.Version.test.dir/Version.test.cpp.o -o njoy21.Version.test -L/usr/lib/gcc/x86_64-linux-gnu/9 ../../../../_deps/njoy_c_bindings-build/libnjoy_c_bindings.a ../../../../_deps/njoy-build/libnjoy.a ../../../../_deps/utility-build/libutility.a -lgfortran -lquadmath
make[2]: Leaving directory '/home/pranto/github/NJOY21/bin'
[ 92%] Built target njoy21.Version.test
In file included from /home/pranto/github/NJOY21/src/njoy21/io/Manager/test/Manager.test.cpp:6:
/home/pranto/github/NJOY21/src/njoy21.hpp:21:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^
In file included from /home/pranto/github/NJOY21/src/njoy21/Driver/test/Driver.test.cpp:4:
/home/pranto/github/NJOY21/src/njoy21.hpp:21:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^
In file included from /home/pranto/github/NJOY21/src/njoy21/legacy/Sequence/test/Sequence.test.cpp:6:
/home/pranto/github/NJOY21/src/njoy21.hpp:21:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^
In file included from /home/pranto/github/NJOY21/src/njoy21/CommandLine/test/CommandLine.test.cpp:4:
/home/pranto/github/NJOY21/src/njoy21.hpp:21:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
^
Killed
make[2]: *** [src/njoy21/io/Manager/test/CMakeFiles/njoy21.io.Manager.test.dir/build.make:82: src/njoy21/io/Manager/test/CMakeFiles/njoy21.io.Manager.test.dir/Manager.test.cpp.o] Error 137
make[2]: Leaving directory '/home/pranto/github/NJOY21/bin'
make[1]: *** [CMakeFiles/Makefile2:2745: src/njoy21/io/Manager/test/CMakeFiles/njoy21.io.Manager.test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Start 4: njoy21.io.Manager
Could not find executable /home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
Looked in the following places:
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Release/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Release/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Debug/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Debug/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/MinSizeRel/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/MinSizeRel/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/RelWithDebInfo/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/RelWithDebInfo/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Deployment/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Deployment/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Development/njoy21.io.Manager.test
/home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Development/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Release/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Release/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Debug/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Debug/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/MinSizeRel/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/MinSizeRel/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/RelWithDebInfo/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/RelWithDebInfo/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Deployment/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Deployment/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Development/njoy21.io.Manager.test
home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/Development/njoy21.io.Manager.test
Unable to find executable: /home/pranto/github/NJOY21/bin/src/njoy21/io/Manager/test/njoy21.io.Manager.test
4/63 Test #4: njoy21.io.Manager ................***Not Run 0.00 sec
I am using
- CXX compiler
Clang 11.0.0
- Fortran compiler
GNU 9.3.0
from njoy21.
Related Issues (20)
- Can't Build v1.0.6 HOT 3
- install in Anaconda environment HOT 1
- Processing of MF10 Multi-isotope entries HOT 4
- Segmentation fault (core dumped) with ACER HOT 1
- Beginners quide, FAQ, examples? HOT 4
- Memory consumption at 94% HOT 3
- Segmentation fault in compiling NJOY on Conda enviroment HOT 3
- Segmentation fault when attempting to make (Mac M1) HOT 1
- tape20 and input files for test2 HOT 1
- Can't build v1.1.0 using given instructions HOT 2
- Installation problem HOT 2
- Build fails with deprecated is_literal_type in hana dependency HOT 6
- Build fails with `error: size of array ‘altStackMem’ is not an integral constant-expression` HOT 1
- Comparing two TSL HOT 3
- LEAPR S(alpha,beta) and rho phonon frequency spectrum HOT 2
- Read COVR matrices HOT 2
- NJOY21 installation error HOT 4
- Runtime error: end of file HOT 4
- Error when running ACER with 'suff' equal to '.07' HOT 1
- catch-adapter issue? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from njoy21.