gimli-org / gimli

Geophysical Inversion and Modeling Library :earth_africa:
https://www.pygimli.org
Other
385 stars 138 forks source link

Gimli install #23

Closed ELEGER closed 9 years ago

ELEGER commented 9 years ago

Good afternoon, I have issues trying to build gimli for 3 days now. Ihave two kind of issue: 1/ The cmake ../trunk does not want to find CC or CXX CMake Error at CMakeLists.txt:17 (project): No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

Even with an export of the proper gcc and g++ in the .zshrc

cmake -D CMAKE_C_COMPILER=clang-3.6 -D CMAKE_CXX_COMPILER=clang++-3.6 ../trunk Same issue cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++ ../trunk Same issue

2/ I've issue with CASTXLM " -- NOT Found castxml executable: cannot build pygimli. -- Found pygccxml path: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- pygccxml is local True -- pygccxml found -- Found pyplusplus path: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- pyplusplus is local True -- pyplusplus found -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- GCCXML_EXECUTABLE: -- CASTXML_EXECUTABLE: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy -- ** -- ***** Dependencies found ***** -- ** -- Triangle_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libtriangle.a -- UMFPACK_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libumfpack.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libsuitesparseconfig.a -- CHOLMOD_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcholmod.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libccolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libsuitesparseconfig.a;/usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/gcc/x86_64-linux-gnu/4.8/libgfortran.so;rt -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHON_LIBRARY: /usr/lib/x86_64-linux-gnu/libpython2.7.so -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYGCCXML: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- PYPLUSPLUS: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- PY_NUMPY: /usr/local/lib/python2.7/dist-packages/numpy/ -- ** -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy " Impossible to build it on my ubuntu 14.04, cannot find any package or equivalent to build it...

Any help are warmly welcome.

Thanks

e

carsten-forty2 commented 9 years ago

I have no experience with zsh ... but just to be sure .. what gives?

gcc --version g++ --version

I experienced castxml build issues myself sometimes .. please try manuall installation in your thirdparty-build-dir

cd /home/el/bin/gimli/thirdParty/build-Clang-3.6.0-64/castxml cmake ../../src/castxml make

Than try the gimli cmake configuration again.

ELEGER commented 9 years ago

On 16/11/2015 15:41, carsten-forty2 wrote:

I have no experience with zsh ... but just to be sure .. what gives?

gcc --version

gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

g++ --version

g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

I experienced castxml build issues myself sometimes .. please try manuall installation in your thirdparty-build-dir

cd /home/el/bin/gimli/thirdParty/build-Clang-3.6.0-64/castxml cmake ../../src/castxml

fine

make

/usr/bin/ld: cannot find -ledit collect2: error: ld returned 1 exit status make[2]: * [bin/castxml] Error 1 make[1]: * [src/CMakeFiles/castxml.dir/all] Error 2 make: *\ [all] Error 2

Than try the gimli cmake configuration again.

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157210435.

Thanks

carsten-forty2 commented 9 years ago

for issue 1 .. please try CC=gcc CXX=g++ cmake ../PATH_TO_GIMLI_SRC

cannot find -ledit you need to install libedit (don't know the correct package name for ubuntu

ELEGER commented 9 years ago

On 16/11/2015 15:54, carsten-forty2 wrote:

for issue 1 .. please try CC=gcc CXX=g++ cmake ../PATH_TO_GIMLI_SRC

Still the same issue

cannot find -ledit you need to install libedit (don't know the correct package name for ubuntu

Done, but collect2: error: ld returned 1 exit status make[2]: * [bin/castxml] Error 1 make[1]: * [src/CMakeFiles/castxml.dir/all] Error 2 make: *\ [all] Error 2

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157212517.

carsten-forty2 commented 9 years ago

strange .. for issue 1 ..

please clean the build directory or remove CMakeCache.txt and post ./CMakeFiles/CMakeOutput.log

castxml issue .. please try also an reset

ELEGER commented 9 years ago

ok, you solved the cmake issue. Great job, next issue concerns the py libraries

-- NOT Found castxml executable: cannot build pygimli. -- Found pygccxml path: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- pygccxml is local True -- pygccxml found -- Found pyplusplus path: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- pyplusplus is local True -- pyplusplus found -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- GCCXML_EXECUTABLE: -- CASTXML_EXECUTABLE: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy -- ** -- ***** Dependencies found ***** -- ** -- Triangle_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libtriangle.a -- UMFPACK_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libumfpack.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libsuitesparseconfig.a -- CHOLMOD_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcholmod.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libccolamd.a;/home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64/lib/libsuitesparseconfig.a;/usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/gcc/x86_64-linux-gnu/4.8/libgfortran.so;rt -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHON_LIBRARY: /usr/lib/x86_64-linux-gnu/libpython2.7.so -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYGCCXML: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- PYPLUSPLUS: /home/el/bin/gimli/thirdParty/dist-Clang-3.6.0-64 -- PY_NUMPY: /usr/local/lib/python2.7/dist-packages/numpy/ -- ** -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") -- Found Sphinx: /usr/bin/sphinx-build (Required is at least version "1.2.0") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy

On 16/11/2015 16:08, carsten-forty2 wrote:

strange .. for issue 1 ..

please clean the build directory or remove CMakeCache.txt and post ./CMakeFiles/CMakeOutput.log

castxml issue .. please try also an reset

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157215209.

ELEGER commented 9 years ago

still the same issu with castxml even after deleting CMakeCache.text I think I gave you encl. the associated output log file located in ~/bin/gimli/thirdParty/build-Clang-3.6.0-64/castXML/CMakeFiles

On 16/11/2015 16:08, carsten-forty2 wrote:

strange .. for issue 1 ..

please clean the build directory or remove CMakeCache.txt and post ./CMakeFiles/CMakeOutput.log

castxml issue .. please try also an reset

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157215209.

carsten-forty2 commented 9 years ago

do you still build everything with clang? (thirdParty/build-Clang-3.6.0-64)?

I don't know if gimli and pygimli works with clang .. clang is just needed for castxml.

Don't find output or log files related to castcxml .. except the -ledit case. Are there anything else after reset?

ELEGER commented 9 years ago

No usually I build everything with gcc and g++

What do you mean by reset ? I erased the CMakeCache.txt file, that's all.

e

On 16/11/2015 16:42, carsten-forty2 wrote:

do you still build everything with clang? (thirdParty/build-Clang-3.6.0-64)?

I don't know if gimli and pygimli works with clang .. clang is just needed for castxml.

Don't find output or log files related to castcxml .. except the -ledit case. Are there anything else after reset?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157221582.

ELEGER commented 9 years ago

Well Actually, Istill have the issue with cmake...

On 16/11/2015 16:42, carsten-forty2 wrote:

do you still build everything with clang? (thirdParty/build-Clang-3.6.0-64)?

I don't know if gimli and pygimli works with clang .. clang is just needed for castxml.

Don't find output or log files related to castcxml .. except the -ledit case. Are there anything else after reset?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157221582.

ELEGER commented 9 years ago

now I'm all Gnu

~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

still same issue with cmake and castxml, can't build it... even within the castxml directory...

collect2: error: ld returned 1 exit status make[2]: * [bin/castxml] Error 1 make[1]: * [src/CMakeFiles/castxml.dir/all] Error 2 make: *\ [all] Error 2

On 16/11/2015 16:42, carsten-forty2 wrote:

do you still build everything with clang? (thirdParty/build-Clang-3.6.0-64)?

I don't know if gimli and pygimli works with clang .. clang is just needed for castxml.

Don't find output or log files related to castcxml .. except the -ledit case. Are there anything else after reset?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157221582.

carsten-forty2 commented 9 years ago

"collect2: error: ld returned 1 exit status" is no complete error message.

cd ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

can you please clean your castxml build dir and post all output from

CC=clang CXX=clang++ cmake ../../src/castXML/ make

ELEGER commented 9 years ago

Please find it enclosed for the cmake. The make output is 15MB file! please find it here:

https://transfert.u-psud.fr/f5hgh

cheers

e

On 17/11/2015 02:46, carsten-forty2 wrote:

"collect2: error: ld returned 1 exit status" is no complete error message.

cd ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

can you please clean your castxml build dir and post all output from

CC=clang CXX=clang++ cmake ../../src/castXML/ make

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157334318.

-- Found Git: /usr/bin/git (found version "1.9.1") -- Checking whether header cstdio is available -- Checking whether header cstdio is available - yes -- Checking for Large File Support -- Checking for Large File Support - yes -- Checking whether C compiler has ptrdiff_t in stddef.h -- Checking whether C compiler has ptrdiff_t in stddef.h - yes -- Checking whether C compiler has ssize_t in unistd.h -- Checking whether C compiler has ssize_t in unistd.h - yes -- Found GNU C compiler '/usr/bin/gcc' to drive tests -- Found GNU CXX compiler '/usr/bin/g++' to drive tests -- Configuring done -- Generating done -- Build files have been written to: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

carsten-forty2 commented 9 years ago

the log file shows indeed not much valuable informations ..

I cannot support castXML questions since this is not related to gimli development .. but just to be complete .. please post the output of

make VERBOSE=1

ELEGER commented 9 years ago

https://transfert.u-psud.fr/wnn7op0s Doesnt give that much neither

On 17/11/2015 08:29, carsten-forty2 wrote:

the log file shows indeed not much valuable informations ..

I cannot support castXML questions since this is not related to gimli development .. but just to be complete .. please post the output of

make VERBOSE=1

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157421612.

carsten-forty2 commented 9 years ago

there is something strange ... this log should at least start with some cmake and some compiler commands, instead it starts direct with these errors

ELEGER commented 9 years ago

well, I ask it to "make &>|makeoutpout.txt"

On 17/11/2015 08:57, carsten-forty2 wrote:

there is something strange ... this log should at least start with some cmake and some compiler commands, instead it starts direct with these errors

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157431197.

carsten-forty2 commented 9 years ago

make VERBOSE=1 &> makeoutpout.txt

allways with fresh build dir

ELEGER commented 9 years ago

https://transfert.u-psud.fr/nzuoyhjv

On 17/11/2015 09:05, carsten-forty2 wrote:

make VERBOSE=1 &> makeoutpout.txt

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157435289.

carsten-forty2 commented 9 years ago

Page non trouvée

ELEGER commented 9 years ago

https://transfert.u-psud.fr/zz00 My fault... sorry

On 17/11/2015 10:13, carsten-forty2 wrote:

Page non trouvée

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157457119.

carsten-forty2 commented 9 years ago

please clean the whole build dir ... they don't re-compile anything e.g.: CMakeFiles/castxml.dir/castxml.cxx.o exists

ELEGER commented 9 years ago

you mean running :

CLEAN=1 cmake ../trunk ?

On 17/11/2015 10:21, carsten-forty2 wrote:

please clean the whole build dir ... they don't re-compile anything e.g.: CMakeFiles/castxml.dir/castxml.cxx.o exists

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157458986.

carsten-forty2 commented 9 years ago

'CLEAN=1 cmake ../trunk' would be the next step

first try: cd ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML remove everything in here!

CC=clang CXX=clang++ cmake ../../src/castXML/ make VERBOSE=1 &> makeoutpout.txt

ELEGER commented 9 years ago

On 17/11/2015 10:27, carsten-forty2 wrote:

'CLEAN=1 cmake ../trunk' would be the next step

first try: cd ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML remove everything in here!

CC=clang CXX=clang++ cmake ../../src/castXML/ make VERBOSE=1 &> makeoutpout.txt

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157460739.

CMake Error at /usr/share/cmake-3.2/Modules/CMakeDetermineCCompiler.cmake:57 (message): Could not find compiler set in environment variable CC:

clang. Call Stack (most recent call first): CMakeLists.txt:17 (project)

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/3.2.2/CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake CMake Error at CMakeLists.txt:17 (project): No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/CMakeOutput.log".

carsten-forty2 commented 9 years ago

clang --version ?

maybe you have to set CompilerVars as CC=clang-3.6.2 ?

ELEGER commented 9 years ago

clang --version

zsh: command not found: clang

Well it seems that I don't have it... I have LLVM... I was convinced that it was included in

On 17/11/2015 10:34, carsten-forty2 wrote:

clang --version ?

maybe you have to set CompilerVars as CC=clang-3.6.2 ?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157463135.

ELEGER commented 9 years ago

Ubuntu clang version 3.6.0-2ubuntu1~trusty1 (tags/RELEASE_360/final) (based on LLVM 3.6.0) Target: x86_64-pc-linux-gnu Thread model: posix

I have it

On 17/11/2015 10:34, carsten-forty2 wrote:

clang --version ?

maybe you have to set CompilerVars as CC=clang-3.6.2 ?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157463135.

ELEGER commented 9 years ago

ok worked

On 17/11/2015 10:34, carsten-forty2 wrote:

clang --version ?

maybe you have to set CompilerVars as CC=clang-3.6.2 ?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157463135.

-- The C compiler identification is Clang 3.6.0 -- The CXX compiler identification is Clang 3.6.0 -- Check for working C compiler: /usr/bin/clang-3.6 -- Check for working C compiler: /usr/bin/clang-3.6 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++-3.6 -- Check for working CXX compiler: /usr/bin/clang++-3.6 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "1.9.1") -- Checking whether header cstdio is available -- Checking whether header cstdio is available - yes -- Checking for Large File Support -- Checking for Large File Support - yes -- Checking whether C compiler has ptrdiff_t in stddef.h -- Checking whether C compiler has ptrdiff_t in stddef.h - yes -- Checking whether C compiler has ssize_t in unistd.h -- Checking whether C compiler has ssize_t in unistd.h - yes -- Found GNU C compiler '/usr/bin/gcc' to drive tests -- Found GNU CXX compiler '/usr/bin/g++' to drive tests -- Configuring done -- Generating done -- Build files have been written to: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

ELEGER commented 9 years ago

shall I CLEAN=1 cmake ../trunk now ?

On 17/11/2015 10:34, carsten-forty2 wrote:

clang --version ?

maybe you have to set CompilerVars as CC=clang-3.6.2 ?

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157463135.

carsten-forty2 commented 9 years ago

sure

ELEGER commented 9 years ago

Still the same bloody issue

On 17/11/2015 10:40, carsten-forty2 wrote:

sure

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157464853.

-- Target is 64 bits -- ThirdParty set to: /home/el/bin/gimli/trunk/../thirdParty/ -- External set to: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- Boost_INCLUDE_DIR, /usr/include -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- boost include: /usr/include -- HAVE_BOOST_INTERPROCESS_MANAGED_SHARED_MEMORY_HPP 1 /usr/include -- Checking for package 'TRIANGLE' -- External dir: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- Triangle_INCLUDE_DIR = /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/include -- Triangle_LIBRARIES = /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libtriangle.a -- Triangle is local True -- Triangle found -- A library with BLAS API found. -- BLAS is local False -- BLAS found -- A library with BLAS API found. -- A library with LAPACK API found. -- LAPACK is local False -- LAPACK found -- Checking for package 'CHOLMOD' -- A library with BLAS API found. -- adding LAPACK_LIBRARIES to CHOLMOD PATH: /usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf -- CHOLMOD_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcholmod.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libccolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a;/usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/gcc/x86_64-linux-gnu/4.8/libgfortran.so;rt -- CHOLMOD is local False -- CHOLMOD found -- UMFPACK_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libumfpack.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a -- UMFPACK is local False -- UMFPACK found -- Found cppunit: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl -- readproc could not be found. (missing: READPROC_LIBRARIES READPROC_INCLUDE_DIR) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- python -- NOT Found castxml executable: cannot build pygimli. -- castxml is local True -- castxml NOT found .. building version from foreign sources into /home/el/bin/gimli/trunk/../thirdParty/ TOOLSET set to: none Installing at /home/el/bin/gimli/thirdParty castxml No TOOLSET set .. using default gcc PYTHON HOME: /usr/bin ################################################################################################## SYSTEM: UNIX USING TOOLSET=gcc-4.8 and CMAKE_GENERATOR=Unix Makefiles, PARRALELBUILD: 1 ADDRESSMODEL = 64 PYTHON = 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] SRC_DIR = /home/el/bin/gimli/thirdParty/src BUILD_DIR = /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64 DIST_DIR = /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 ##################################################################################################

----GIT--https://github.com/CastXML/CastXML.git -> /home/el/bin/gimli/thirdParty/src/castXML : ----------------

~/bin/gimli/thirdParty/src/castXML ~/bin/gimli/thirdParty Already up-to-date. ~/bin/gimli/thirdParty ~/bin/gimli/thirdParty/src/castXML ~/bin/gimli/thirdParty /home/el/bin/gimli/thirdParty/src/castXML git checkout . ~/bin/gimli/thirdParty SRC /home/el/bin/gimli/thirdParty/src/castXML ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML ~/bin/gimli/thirdParty SRC /home/el/bin/gimli/thirdParty/src/castXML CMake Error at /usr/share/cmake-3.2/Modules/CMakeDetermineCCompiler.cmake:57 (message): Could not find compiler set in environment variable CC:

clang. Call Stack (most recent call first): CMakeLists.txt:17 (project)

CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/3.2.2/CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file: /home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake CMake Error at CMakeLists.txt:17 (project): No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:17 (project): No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/home/el/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML/CMakeFiles/CMakeOutput.log". make: * No rule to make target `install'. Stop. ~/bin/gimli/thirdParty -- NOT Found castxml executable: cannot build pygimli. -- Found pygccxml path: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- pygccxml is local True -- pygccxml found -- Found pyplusplus path: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- pyplusplus is local True -- pyplusplus found -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- GCCXML_EXECUTABLE: -- CASTXML_EXECUTABLE: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy -- **** -- ***** Dependencies found ***** -- ** -- Triangle_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libtriangle.a -- UMFPACK_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libumfpack.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a -- CHOLMOD_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcholmod.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libccolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a;/usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/gcc/x86_64-linux-gnu/4.8/libgfortran.so;rt -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHON_LIBRARY: /usr/lib/x86_64-linux-gnu/libpython2.7.so -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYGCCXML: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- PYPLUSPLUS: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- PY_NUMPY: /usr/local/lib/python2.7/dist-packages/numpy/ -- ** -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHONLIBS_FOUND: TRUE -- XML Caster: CASTXML_EXECUTABLE-NOTFOUND -- PYPLUSPLUS_FOUND: 1 -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- numpy_FOUND: TRUE -- pygimli cannot be build due to some missing packages. Check above for python, gccxml|castxml, pygccxml, pyplusplus, boost_python, numpy -- Configuring done -- Generating done -- Build files have been written to: /home/el/bin/gimli/build

carsten-forty2 commented 9 years ago

"Could not find compiler set in environment variable CC: clang."

clang ist still unknown?

hmm ok .. strange .. you can build castxml manually?

go ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

build it and than ommit the CLEAN=1 for the gimli cmake .. the script should then find the allready builded castxml

ELEGER commented 9 years ago

Wouhou! -- Found castxml executable: -- Found pygccxml path: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- pygccxml is local True -- pygccxml found -- Found pyplusplus path: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- pyplusplus is local True -- pyplusplus found -- pygimli can be build. -- ** -- ***** Dependencies found ***** -- ** -- Triangle_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libtriangle.a -- UMFPACK_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libumfpack.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a -- CHOLMOD_LIBRARIES: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcholmod.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libcolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libccolamd.a;/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/lib/libsuitesparseconfig.a;/usr/lib/liblapack.so;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/libf77blas.so.3gf;/usr/lib/libatlas.so.3gf;/usr/lib/gcc/x86_64-linux-gnu/4.8/libgfortran.so;rt -- PYTHON_EXECUTABLE: /usr/bin/python -- PYTHON_LIBRARY: /usr/lib/x86_64-linux-gnu/libpython2.7.so -- Boost_PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so -- XML Caster: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/bin/castxml -- PYGCCXML: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- PYPLUSPLUS: /home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64 -- PY_NUMPY: /usr/local/lib/python2.7/dist-packages/numpy/ -- ** -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") -- Found Sphinx: /usr/bin/sphinx-build (Required is at least version "1.2.0") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- pygimli can be build. -- Configuring done -- Generating done -- Build files have been written to: /home/el/bin/gimli/build

On 17/11/2015 10:54, carsten-forty2 wrote:

"Could not find compiler set in environment variable CC: clang."

clang ist still unknown?

hmm ok .. strange .. you can build castxml manually?

go ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

build it and than ommit the CLEAN=1 for the gimli cmake .. the script should then find the allready builded castxml

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157469529.

ELEGER commented 9 years ago

Not over.... make gimli ran fine

but

make pygimli [100%] Built target gimli Scanning dependencies of target pggen INFO caster_path=/home/el/bin/gimli/thirdParty/dist-GNU-4.8.4-64/bin/castxml INFO working_directory=../src INFO include_paths=['/usr/include', '/home/el/bin/gimli/trunk/src'] INFO define_symbols=['PYGIMLI_CAST', 'HAVE_BOOST_THREAD_HPP'] INFO indexing_suite_version=2 Traceback (most recent call last): File "/home/el/bin/gimli/trunk/python/generate_pygimli_code.py", line 596, in generate(defined_symbols, options.extraIncludes) File "/home/el/bin/gimli/trunk/python/generate_pygimli_code.py", line 253, in generate caster=caster TypeError: init() got an unexpected keyword argument 'gccxml_path' make[3]: * [pggen] Error 1 make[2]: * [python/CMakeFiles/pggen.dir/all] Error 2 make[1]: * [CMakeFiles/pygimli.dir/rule] Error 2 make: * [pygimli] Error 2

On 17/11/2015 10:54, carsten-forty2 wrote:

"Could not find compiler set in environment variable CC: clang."

clang ist still unknown?

hmm ok .. strange .. you can build castxml manually?

go ~/bin/gimli/thirdParty/build-GNU-4.8.4-64/castXML

build it and than ommit the CLEAN=1 for the gimli cmake .. the script should then find the allready builded castxml

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157469529.

carsten-forty2 commented 9 years ago

hmm .. ok .. i will check this

ELEGER commented 9 years ago

could it be due to the python version ? I've a 2.7 and 3.6 coexisting

On 17/11/2015 11:05, carsten-forty2 wrote:

hmm .. ok .. i will check this

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157472433.

carsten-forty2 commented 9 years ago

no .. there was an api change in the thirdparty package pyplusplus 4 days ago.

I fixed the dev branch right now. If you are working on master you need to wait until jenkins merge my changes.

ELEGER commented 9 years ago

Ok keep me posted please. Cheers

e

On 17/11/2015 11:38, carsten-forty2 wrote:

no .. there was an api change in the thirdparty package pyplusplus 4 days ago.

I fixed the dev branch right now. If you are working on master you need to wait until jenkins merge my changes.

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157482987.

ELEGER commented 9 years ago

Do you know when the new version will be committed ?

I've seen that you updated a branch.

cheers

e

On 17/11/2015 11:38, carsten-forty2 wrote:

no .. there was an api change in the thirdparty package pyplusplus 4 days ago.

I fixed the dev branch right now. If you are working on master you need to wait until jenkins merge my changes.

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157482987.

florian-wagner commented 9 years ago

Hey Emmanuel,

could you try git checkout dev && git pull in your GIMLi folder. The master branch does not update itsfelf right now. I have to look into it.

suhle commented 9 years ago

Hi,

I had the same issue for the last couple of days. I found a work around for the castxml/llvm issue, which is known and a bug has been reported (https://bugs.launchpad.net/ubuntu/+source/llvm/+bug/1387011)

The gimli update then resolved the last issue Emmanual faced. So thanks for that! Brilliant work!

ELEGER commented 9 years ago

I didn't use git to pull the source but svn... shall I redo with git ?

On 17/11/2015 22:42, Florian Wagner wrote:

Hey Emmanuel,

could you try |git checkout dev && git pull| in your GIMLi folder. The master branch does not update itsfelf right now. I have to look into it.

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157621541.

ELEGER commented 9 years ago

I'll redo everything with git

On 17/11/2015 22:42, Florian Wagner wrote:

Hey Emmanuel,

could you try |git checkout dev && git pull| in your GIMLi folder. The master branch does not update itsfelf right now. I have to look into it.

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157621541.

florian-wagner commented 9 years ago

Where did you pull the svn source from? Sourceforge or GitHub? The sourceforge repo is not updated anymore. Please use git as explained here: http://pygimli.org/installation.html#linux

ELEGER commented 9 years ago

Well, yeah, I just took the svn which was at the end of you link, named "

  Example Installation on Ubuntu¶
  <http://pygimli.org/installation.html#example-installation-on-ubuntu>"

my fault, sorry... I'm building it fine now.

On 18/11/2015 08:06, Florian Wagner wrote:

Where did you pull the svn source from? Sourceforge or GitHub? The sourceforge repo is not updated anymore. Please use git as explained here: http://pygimli.org/installation.html#linux

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157761478.

florian-wagner commented 9 years ago

No, not your fault at all. That should not have been there... Sorry for that. Fixed it now: https://github.com/gimli-org/gimli/commit/240c0f245e89b04b830557c22dc1f657286b2b99

ELEGER commented 9 years ago

By any chance, Carsten know I think, T, Gunter is not responding DO you know how to get the Bert source ? I'm here, but doesn't seem to help me that much... https://geo27.geo.tu-berlin.de/svn/bert/trunk/

I think if you are related to Bert somehow, an updtae of the website could be nice:

"

BERT 1.0 distributions including the whole dcfemlib library are available for Linux 32 or 64bit and Windows 32bit, since there are only few changes we do not recommend to build it from source anymore.

The GIMLi library can be retrieved by SNV. Frequently changing BERT 2.0 binaries (experimental) are also available.

If you're interested please contact Carsten http://www.resistivity.net/index.php?carsten&type=1 or Thomas http://www.resistivity.net/index.php?thomas&type=1 specifying your platform. "

Cheers

e

On 18/11/2015 08:11, Florian Wagner wrote:

No, not your fault at all. That should not have been there... Sorry for that. Fixed it now: 240c0f2 https://github.com/gimli-org/gimli/commit/240c0f245e89b04b830557c22dc1f657286b2b99

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157763271.

ELEGER commented 9 years ago

I could build except that it doesn't like too much my numpy apparently:

In file included from /usr/include/python2.7/numpy/ndarraytypes.h:1761:0, from /usr/include/python2.7/numpy/ndarrayobject.h:17, from /usr/include/python2.7/numpy/arrayobject.h:4, from /home/el/bin/Gimli/build/python/generated/custom_rvalue.cpp:9: /usr/include/python2.7/numpy/npy_1_7_deprecated_api.h:15:2: warning:

warning "Using deprecated NumPy API, disable it by " "#defining

NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it by " \

^ In file included from /usr/include/python2.7/numpy/ndarrayobject.h:26:0, from /usr/include/python2.7/numpy/arrayobject.h:4, from /home/el/bin/Gimli/build/python/generated/custom_rvalue.cpp:9: /usr/include/python2.7/numpy/__multiarray_api.h:1629:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function] _import_array(void) ^ but it built ...

But it doesn't work .....

import numpy No module named pygimli Traceback (most recent call last): File "/home/el/bin/gimli/trunk/python/pygimli/init.py", line 24, in from . pygimli import ImportError: No module named pygimli ERROR: cannot import the library 'pygimli'. Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/numpy/init.py", line 180, in from . import add_newdocs File "/usr/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/dist-packages/numpy/lib/init.py", line 8, in from .type_check import File "/usr/local/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/usr/local/lib/python2.7/dist-packages/numpy/core/init.py", line 57, in from numpy.testing import Tester File "/usr/local/lib/python2.7/dist-packages/numpy/testing/init.py", line 14, in from .utils import * File "/usr/local/lib/python2.7/dist-packages/numpy/testing/utils.py", line 15, in from tempfile import mkdtemp File "/usr/lib/python2.7/tempfile.py", line 32, in import io as _io File "io/init.py", line 12, in from . load import load File "io/load.py", line 5, in import pygimli as pg File "/home/el/bin/gimli/trunk/python/pygimli/init.py", line 72, in pygimli.load = None AttributeError: 'NoneType' object has no attribute 'load'

I can't even work with numpy anymore

On 18/11/2015 08:11, Florian Wagner wrote:

No, not your fault at all. That should not have been there... Sorry for that. Fixed it now: 240c0f2 https://github.com/gimli-org/gimli/commit/240c0f245e89b04b830557c22dc1f657286b2b99

— Reply to this email directly or view it on GitHub https://github.com/gimli-org/gimli/issues/23#issuecomment-157763271.

ELEGER commented 9 years ago

Even after resintalling, still stuck...

import numpy No module named pygimli Traceback (most recent call last): File "/home/el/bin/gimli/trunk/python/pygimli/init.py", line 24, in from . pygimli import ImportError: No module named pygimli ERROR: cannot import the library 'pygimli'. Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/numpy/init.py", line 180, in from . import add_newdocs File "/usr/local/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/dist-packages/numpy/lib/init.py", line 8, in from .type_check import File "/usr/local/lib/python2.7/dist-packages/numpy/lib/type_check.py", line 11, in import numpy.core.numeric as _nx File "/usr/local/lib/python2.7/dist-packages/numpy/core/init.py", line 57, in from numpy.testing import Tester File "/usr/local/lib/python2.7/dist-packages/numpy/testing/init.py", line 14, in from .utils import * File "/usr/local/lib/python2.7/dist-packages/numpy/testing/utils.py", line 15, in from tempfile import mkdtemp File "/usr/lib/python2.7/tempfile.py", line 32, in import io as _io File "io/init.py", line 12, in from . load import load File "io/load.py", line 5, in import pygimli as pg File "/home/el/bin/gimli/trunk/python/pygimli/init.py", line 72, in pygimli.load = None AttributeError: 'NoneType' object has no attribute 'load'

My numpy is broken, since it tries to get pygimli which it cannot....