Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue compiling runeems_snps on linux #76

Open
adamfreedman opened this issue Aug 10, 2024 · 0 comments
Open

issue compiling runeems_snps on linux #76

adamfreedman opened this issue Aug 10, 2024 · 0 comments

Comments

@adamfreedman
Copy link

I was obliged to rebuild my eems install after our HPC was refactored. Fwiw, I've run it succesfully before. That said after having modified the makefile to point to relevant boost and eigen3 directories (which are nested inside a conda environment), make linux yields errors upon "make linux" (we're running on rocky)

g++ -std=c++14 -I/n/holylfs05/LABS/informatics/Users/afreedman/.conda/envs/eems_snps/include/boost -I/n/holylfs05/LABS/informatics/Users/afreedman/.conda/envs/eems_snps/include/eigen3 -O3 -DNDEBUG -o runeems_snps runeems_snps.o eems.o util.o mcmc.o draw.o habitat.o graph.o -L/n/holylfs05/LABS/informatics/Users/afreedman/.conda/envs/eems_snps/lib -Wl,-R/n/holylfs05/LABS/informatics/Users/afreedman/.conda/envs/eems_snps/lib -lboost_system -lboost_program_options -lboost_filesystem
runeems_snps.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': runeems_snps.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x30): undefined reference to boost::system::generic_category()'
runeems_snps.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xa9): undefined reference to boost::system::generic_category()' runeems_snps.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x121): undefined reference to boost::system::generic_category()'
runeems_snps.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': runeems_snps.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x2f): undefined reference to boost::system::generic_category()'
runeems_snps.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xc1): undefined reference to boost::system::generic_category()' util.o: In function Params::check_input_arguments()':
util.cpp:(.text+0x3217): undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: linux] Error 1

Not sure what is going on here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant