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

configure error #23

Open
eduxiao opened this issue Nov 17, 2022 · 6 comments
Open

configure error #23

eduxiao opened this issue Nov 17, 2022 · 6 comments

Comments

@eduxiao
Copy link

eduxiao commented Nov 17, 2022

there is a configure error when i use the ./configure --with-warped=/home/ubuntu/Desktop/project/warped2/installation
the error is
"checking whether g++ supports C++11 features by default... yes
checking warped.hpp usability... yes
checking warped.hpp presence... yes
checking for warped.hpp... yes
Successfully found warped.hpp.
checking for warped_is_present in -lwarped... no
configure: error: Could not find libwarped.so. Use --with-warped to specify install path"
Please help me how to configure it

@guptask
Copy link
Collaborator

guptask commented Nov 17, 2022

Please refer to the function build() inside https://github.com/wilseypa/warped2-models/blob/master/scripts/configSimulate.sh for build instructions. Can you share the build commands you used for building warped2 ? I think there might be some issue on this step because of which libwarped.so is missing.

@eduxiao
Copy link
Author

eduxiao commented Nov 17, 2022

thanks
this is my build commands " autoreconf -i && ./configure --with-mpi-includedir=/usr/local/mpich-4.0.4/include --with-mpi-libdir=/usr/local/mpich-4.0.4/lib --prefix=/home/ubuntu/Desktop/project/warped2/installation && make && make install "
but when i use make check, there is "
make[2]: *** [Makefile:857: test_AggregateEventStatistics.o] Error 1
make[2]: Leaving directory '/home/ubuntu/Desktop/project/warped2/test'
make[1]: *** [Makefile:1268: check-am] Error 2
make[1]: Leaving directory '/home/ubuntu/Desktop/project/warped2/test'
make: *** [Makefile:1052: check-recursive] Error 1"

@guptask
Copy link
Collaborator

guptask commented Nov 17, 2022

The error you reported is not showing any information that can help with the debug process.
Can you try to re-build warped2 using "make clean all && make install" ?
"make check" is for building and running the unit tests - sometimes clean build solves the type of issues you're facing. test_AggregateEventStatistics is the first test inside tests/Makefile.am - so that error is probably not related to that file specifically.

@wilseypa
Copy link
Owner

wilseypa commented Nov 17, 2022 via email

@eduxiao
Copy link
Author

eduxiao commented Nov 17, 2022

When replacing a sever and rebuilding the project, i got success! for next stage, i want to use warped2 and phold to study the load balancing by lp-migration. Thank you very mach!

@wilseypa
Copy link
Owner

wilseypa commented Nov 17, 2022 via email

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

3 participants