Comments (9)
Most flags are automatic or have default values:
- GPU falling back to CPU
- OpenMP (if available, it'll be on)
- SHARED_LIB (default)
- PREFIX_INSTAL...
- etc
(You can change them if you want, but is better to let cmake choose their values for you)
But other flags are too agressive and need specific requirements. So I recommend not to use them: BUILD_HPC, MKL
By default they are disabled for compatibility purposes.
More:
BUILD_TESTS
should beoff
(i need to update the tests)
from eddl.
I have tried calling cmake with only these parameters: -DBUILD_TARGET=CPU -DBUILD_SHARED_LIB=ON -DBUILD_PROTOBUF=OFF -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=/home/oliveri/oliveri/eddl
and unfortunately make fails with the same errors.
Here is the output of CMake:
-- The CXX compiler identification is GNU 4.8.5
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
-- Found OpenMP: TRUE (found version "3.1")
-- Found OpenMP, version 3
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Install path: /home/oliveri/oliveri/eddl
-- ===========================================
-- ===========================================
-- Build type: Release
-- Build target: CPU
-- Build tests: OFF
-- Build examples: ON
-- Build OpenMP: ON
-- Build Protobuf: OFF
-- Build HPC: OFF
-- Use Intel-MKL: OFF
-- C++ compiler: GNU
-- C++ flags: -DEIGEN_FAST_MATH -pipe
-- C++ flags (release): -O3 -mtune=native
-- C++ flags (debug): -g -Og
-- CUDA Enabled:
-- CUDA flags:
-- ===========================================
-- ===========================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oliveri/oliveri/Projet_de_Batchelor/repo/pyeddl/third_party/eddl/build
The output of make is unchanged.
from eddl.
rm -rf *
and cmake again
from eddl.
Already done. I actually delete the whole repository and reclone it at each try, so it's unfortunately not as simple as cleaning the build folder.
from eddl.
Try using a more recent version of the GNU compiler (or another). You currently use GNU 4.8.5, so try with g++-9 or clang (for instance)
from eddl.
Already done. I actually delete the whole repository and reclone it at each try, so it's unfortunately not as simple as cleaning the build folder.
ok! seems that cold be the compiler version.
from eddl.
@Andrea-Oliveri any news?
from eddl.
Unfortunately I don't have sudo rights to update the compiler on the CentOS, so the whole process od trying a more recent compiler version is going to take a while. However, knowing that on the Ubuntu machine with a more recent compiler the build process works flawlessly, I think you are right and eddl is just incompatible with too old gcc/g++ versions.
Thank you for your support.
from eddl.
Okay, so I'm gonna close this issue.
Btw, it is possible change the compiler using this cmake flag: -DCMAKE_CXX_COMPILER=/path/to/c++compiler
More: Build options
from eddl.
Related Issues (20)
- Fallback of unsupported args for ONNX
- Load dynamic inputs shapes from ONNX
- Add Tile layer and Broadcast HOT 1
- Allow asymmetric padding in ONNX
- Add the name_id of each layer
- Different training results with Keras and EDDL
- The examples should be intendeed for begineers, not for testing internals.
- Avoid printing to standard output HOT 1
- Support n-dimensional dense HOT 1
- Add preprocessor directives for FPGA
- Download model params are not consistent with keras.
- Problem in deserialization of an ONNX model HOT 1
- Segmentation fault in eddl.forward() with a LSTM layer HOT 3
- non-recurrent LSTM cells with multiple GPUs HOT 1
- Import ONNX file with a different input channel dimension HOT 1
- Import ONNX with low_memory setting HOT 1
- LSTM training fail on single GPU, but not with multiple GPUs HOT 4
- Export to ONNX randomly fails HOT 9
- Import ONNX model from pytorch - LDense only works over 2D tensors (LDense) HOT 6
- Tensor manipulations HOT 9
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 eddl.