yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #12830
[Question #294790]: YADE-1.20.0 compiled with Intel Compiler
New question #294790 on Yade:
https://answers.launchpad.net/yade/+question/294790
Hi, All:
I am now trying to use YADE-1.20.0 on a cluster (Redhat Enterprise 6) compiled with Intel Compiler 15.0.0, I made some attempt yesterday and was successful in compiling YADE with the following cmake configure and make, I compiled loki, boost 1.54 (1.55 has a problem with shard_ptr), eigen and minieigen using the same intel compiler,
#!/bin/bash
export CC=icc
export CXX=icpc
export BSTTARGET=/project/fchen14/yade/boost/boost_1_54_0/install/
cmake -DCMAKE_C_COMPILER="icc" \
-DCMAKE_CXX_COMPILER="icpc" \
-DBoost_NO_BOOST_CMAKE=TRUE \
-DBoost_NO_SYSTEM_PATHS=TRUE \
-DBOOST_ROOT:PATHNAME=$BSTTARGET \
-DBoost_LIBRARY_DIRS:FILEPATH=${BSTTARGET}/lib \
-DBoost_INCLUDE_DIRS=${BSTTARGET}/include \
-DENABLE_GTS=OFF \
-DENABLE_GL2PS=OFF -DENABLE_GTS=OFF \
-DPY_minieigen=/project/fchen14/yade/eigen/minieigen-0.5.3/install/ \
-DEIGEN3_INCLUDE_DIR=/project/fchen14/yade/eigen/eigen-3.2.8/install/include/eigen3 \
-DLOKI_INCLUDE_DIR=/project/fchen14/yade/loki/loki-0.1.7/install/include \
-DLOKI_LIBRARY=/project/fchen14/yade/loki/loki-0.1.7/install/lib \
-DCMAKE_INSTALL_PREFIX=../install \
../trunk-1.20.0/ #/project/fchen14/yade/loki/loki-0.1.7/install/include
the libyade.so was generated successfully, however when I tried to launch yade-1.20.0 with the following command it resulted in a segmentation fault:
[fchen14@host001 bin]$ ./yade-1.20.0
Welcome to Yade 1.20.0
Segmentation fault
further exploring into the script ./yade-1.20.0 I located the segmentation fault happens at the line 129 in ./yade-1.20.0
129 import yade
So I am wondering
1) does anyone have the experience of using YADE with intel compiler?
2) As this will be only using the cluster with batch job so I do not need any GUI and use as few dependencies as possible, I just want to run a very simple case like free fall/collision of a few thousand particles and then benchmark the run, can I run yade without python interface? (If trying to diagnose the segmentation fault with python interface will take a long time?
Thanks for any suggestions!
Feng Chen
--
You received this question notification because your team yade-users is
an answer contact for Yade.