Comments (5)
I think I solved it with the new Makefile.am.
Unfortunately I do not have access to a machine without a std installation, but I'm pretty sure this is working now. See the commit history for details.
Tell me if this solved the issue and I will close this issue.
from rhmc-on-gpu.
The issue still persists. I think it is at the level of the configure.ac file in the root directory.
The test program to check for the mpfr library fails to compile because of the non-standard location of the library, resulting in configure to exit with a missing library error.
I think at the moment there are 2 problems in the configure.ac file:
- we should test for the presence of "--with-mpfr" before the check of the library;
- set LIB to include MPFR_LIB before the check of the library.
This is an extract of the config.log file:
[Omissis]
It was created by rhmc_staggered_cuda configure 0.1.2, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --enable-cuda=sm_20 --with-mpfr=/people/disk2/pica
[omissis]
configure:4484: checking for mpfr_init in -lmpfr
configure:4509: gcc -o conftest -g -O2 conftest.c -lmpfr >&5
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libmpfr.a(set_dfl_prec.o): In function mpfr_set_default_prec': (.text+0x37): undefined reference to
__gmp_assert_fail'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libmpfr.a(init2.o): In function mpfr_init2': (.text+0x3c): undefined reference to
__gmp_assert_fail'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libmpfr.a(init2.o): In function mpfr_init2': (.text+0x56): undefined reference to
__gmp_allocate_func'
collect2: ld returned 1 exit status
configure:4509: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "rhmc_staggered_cuda"
| #define PACKAGE_TARNAME "rhmc_staggered_cuda"
| #define PACKAGE_VERSION "0.1.2"
| #define PACKAGE_STRING "rhmc_staggered_cuda 0.1.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "rhmc_staggered_cuda"
| #define VERSION "0.1.2"
| / end confdefs.h. /
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mpfr_init ();
| int
| main ()
| {
| return mpfr_init ();
| ;
| return 0;
| }
configure:4518: result: no
from rhmc-on-gpu.
Try the new version. I included a special test for MPFR library in a separate .m4 file and I am not using anymore the AC_CHECK_LIB directive in configure.ac . I tried with a non standard installation in my machine and it works, the test is passed and it is invoked using the correct -I and -L flags.
Tell me if it works.
from rhmc-on-gpu.
Everything works fine now!
from rhmc-on-gpu.
Perfect. Now should work also in Rome, where they had similar problems.
from rhmc-on-gpu.
Related Issues (4)
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 rhmc-on-gpu.