Comments (12)
Hi, we had this problem with the releases 2.7.0 and 2.7.1. This should be fixed now.
from adol-c.
This has not been fixed (tried today, still same error)
from adol-c.
from adol-c.
Hi, we had an issue with the prefix that was fixed in 2.7.2. I thought this had solved also your problem. However, this seems not to be the case. We will now have a look at your specific problem.
Best regards
Andrea
from adol-c.
https://github.com/coin-or/ADOL-C/blob/master/configure.ac#L663
it should be test
and not $test
I tried with master
and it works as expected. We should temporarily track the dev branch in our package and start using releases from the next one.
Anyway, it would be nice if you provide --enable-python as configure flag in the next releases to allow for users to disable the python build
from adol-c.
Sorry, not yet completely fixed. I spoke too early. This is with the latest master
configure (note the libdir)
./configure --prefix=/home/szampini/Devel/petsc/arch-maint MAKE=/usr/bin/gmake --libdir=/home/szampini/Devel/petsc/arch-maint/lib CC="mpicc" CFLAGS="-g -O0 -fPIC" AR="/usr/bin/ar" ARFLAGS="cr" CXX="mpicxx" CXXFLAGS="-g -O0 -fPIC" F90="mpif90" F90FLAGS="-g -O0 -fPIC" FFLAGS="-g -O0 -fPIC" FC="mpif90" F77="mpif90" FCFLAGS="-g -O0 -fPIC" --enable-shared --enable-sparse
When running make install, the swig build uses the suffix lib64
as location for adolc (libdir is not respected) and fails.
...
compile options: '-I/usr/lib64/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -I/home/szampini/Devel/petsc/arch-maint/include -c'
extra options: '-std=c++11 -fPIC -w'
gcc: adolc-python_wrap.cpp
mpicxx -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g build/temp.linux-x86_64-3.7/adolc-python_wrap.o -L/usr/lib64 -L/home/szampini/Devel/petsc/arch-maint/lib64 -Wl,--enable-new-dtags,-R/home/szampini/Devel/petsc/arch-maint/lib64 -ladolc -lpython3.7m -o build/lib.linux-x86_64-3.7/_adolc.cpython-37m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -ladolc
collect2: error: ld returned 1 exit status
error: Command "mpicxx -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g build/temp.linux-x86_64-3.7/adolc-python_wrap.o -L/usr/lib64 -L/home/szampini/Devel/petsc/arch-maint/lib64 -Wl,--enable-new-dtags,-R/home/szampini/Devel/petsc/arch-maint/lib64 -ladolc -lpython3.7m -o build/lib.linux-x86_64-3.7/_adolc.cpython-37m-x86_64-linux-gnu.so" failed with exit status 1
from adol-c.
Hi, thanks a lot for the additional information. We will try to fix this as soon as possible.
from adol-c.
Hi, this issue has been hanging fire for over six months. Is there a plan for fixing it soon?
from adol-c.
Hi,
it should be test and not $test
this is fixed now in the master
--enable-python as configure flag
this is now provided, by default it is disabled, disabling also the swig build
we still have to fix the problem with the suffix lib64 as location for the swig build
It would be great if you could give it a try
from adol-c.
This should be really fixed now.
from adol-c.
Thanks. However, it is not completely fixed, since you did not commit the new configure
file. I had to rerun autoconf
to have the python script disabled by default @awalther1
from adol-c.
Thanks for the hint, I commited the corresponding configure file a few minutes ago
from adol-c.
Related Issues (20)
- Failed to compile HOT 2
- breakage on freebsd due to bash code in configure script HOT 6
- Cannot disable external packages HOT 1
- Linker error using fixpoint iteration abilities HOT 2
- strncpy bound depends on the length of the source
- boost and mingw64 (msys) HOT 1
- Output tape to c or C++ file HOT 1
- ADOL-C thread safety HOT 2
- ColPack detection on MacOS / g++ 10.1 gets confused
- OPENMP for loop with reduction
- configure mistakenly adding "-link -dll" option on a linux system lead to errors
- Build fails with ColPack HOT 2
- configure prints: Build with python swig module: no ./configure: line 22356: xno: command not found HOT 1
- python build fails: error: command 'swig' failed with exit status 1 HOT 2
- Implementation in Matlab HOT 1
- How to cross-compile ADOL-C to arm linux HOT 2
- ADOL-C installation macbook HOT 1
- uni5_for.c:3298:28: error: 'j' undeclared HOT 1
- Warning in calling setNumDir HOT 2
- Data races in OpenMP thread-parallel implementation
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 adol-c.