[ET Trac] [Einstein Toolkit] #1907: bug in configuration of pthread

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sat Jun 4 03:24:40 CDT 2016


#1907: bug in configuration of pthread
------------------------------------------------+---------------------------
 Reporter:  Todd Wegner <twwegner@…>            |       Owner:                     
     Type:  defect                              |      Status:  new                
 Priority:  unset                               |   Milestone:                     
Component:  EinsteinToolkit thorn               |     Version:  development version
 Keywords:                                      |  
------------------------------------------------+---------------------------
 There is a problem with
 EinsteinToolkit/Cactus/arrangements/ExternalLibraries/pthreads/src/detect.sh
 for detection of pthread on Lubuntu 15.04.

 I have attached a "fix".

 x86_64-linux-gnu needs to be added to libdir in the script
 also the following lines need to be commented

 #PTHREADS_INC_DIRS=${CCTK_HOME}/lib/sbin/strip-incdirs.sh
 ${PTHREADS_INC_DIRS})
 #PTHREADS_LIB_DIRS=$(${CCTK_HOME}/lib/sbin/strip-libdirs.sh
 ${PTHREADS_LIB_DIRS})
 Not sure the accepted approach to avoid commenting lines.


 The following command then needs to be run.
 make <config-name>-config PTHREADS_DIR=/usr

 It this is useful to anyone, the
 dependent packages required to build cactus are
 (packages not installed by default installation):

 sudo apt-get install ...

 build-essential
 openmpi-bin
 openmpi-doc
  libopenmpi-dev
 libpthread-stubs0-dev
 zlib1g-dev
 pkg-config
 gfortran
 subversion
 git
 make

 Best Regards,

 Todd

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1907>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list