Project

General

Profile

Actions

Infrastructure #719

closed

compiling cbmroot on /lustre/nyx/

Added by Tariq Mahmoud almost 6 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/20/2016
Due date:
% Done:

100%

Estimated time:

Description

after installing cbmroot i called cmake and got the following message:

cmake: /cvmfs/it.gsi.de/compiler/gcc/4.8.4/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake)

I executed the following instructions before:

module use /cvmfs/it.gsi.de/modulefiles/
module load compiler/gcc/4.8.4
export CXX=g++
export SIMPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2
export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.07_fairsoft-jul15p2


Related issues

Related to CbmRoot - Support #2360: Top issue for Cbmroot building or compilation (cmake/make) issuesIn Progress12/01/2021

Actions
Actions #1

Updated by Florian Uhlig almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Hi Tariq,

please read the first abstract of [https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallCbmRootFarmC11|this page] carefully. On Kronos you don't need any longer a non system compiler.

Actions #2

Updated by Philipp Sitzmann almost 6 years ago

Hi,

I put together a new Wiki entry with a step by step guide on howto install CbmRoot on Kronos maybe this can help if someone has trouble installing CbmRoot on Kronos

Installing CbmRoot on the GSI Kronos batch farm

Philipp

Actions #3

Updated by Tariq Mahmoud almost 6 years ago

why can not I keep the older structure (having the config-file in the build directory)? I tried to specify the build directory as target when calling cmake. This did not work! any idea why?

Actions #4

Updated by Tariq Mahmoud almost 6 years ago

after installing cbmroot I did the following (as suggested in https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallCbmRootKronos):
mkdir buildcbm
cd buildcbm/
export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/fairroot/v-15.11c_fairsoft-nov15p1_root6/
export SIMPATH=/cvmfs/fairroot.gsi.de/fairsoft/nov15p1_root6
cmake -DCMAKE_INSTALL_PREFIX="/lustre/nyx/cbm/users/tariq/CBMINSTALL/" ..
make -j4

--> message:
make: *** No targets specified and no makefile found. Stop.

Actions #5

Updated by Tariq Mahmoud almost 6 years ago

which fairroot version is better to use?

CMake Error at /cvmfs/fairroot.gsi.de/fairroot/v-15.07a_fairsoft-jul15p3_root6/share/fairbase/cmake/modules/ROOTMacros.cmake:321 (Add_Library):
Cannot find source file:

Actions #6

Updated by Philipp Sitzmann almost 6 years ago

Regarding the different post:
1) you can still keep the old format with everything on Kronos, then you just have to get cbmroot to e.g.

/lustre/nyx/cbm/users/tariq/cbm/src/

then
cd /lustre/nyx/cbm/users/tariq/cbm/src/
mkdir build
cd build
cmake ../

2)
if your make fails, then cmake had to fail already at one point, try to run cmake again.

3)
The recommended Fairroot and Fairsoft can be found at FAIR software versions for trunk
and from the Post 2 and 3, there seems to be a difference in used Fairroot versions.
Because you exported v-15.11c and in the error it said v-15.07a.
Try to delete all files in buildcbm and rerun cmake.
Make sure that cmake is successful.

Actions #7

Updated by Tariq Mahmoud almost 6 years ago

still problematic. with

export SIMPATH=/cvmfs/fairroot.gsi.de/fairsoft/jul15p3_root5
 export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/fairroot/v-15.07a_fairsoft-jul15p3_root5

cmake gives:

FairRoot Version less 15.11.2
-- No correct FairRoot version found. Dont't build tof beamtime library.
FairRoot Version less 15.11.2
-- Configuring done
CMake Error at /cvmfs/fairroot.gsi.de/fairroot/v-15.07a_fairsoft-jul15p3_root5/share/fairbase/cmake/modules/ROOTMacros.cmake:321 (Add_Library):
  Cannot find source file:

    ipc/Microslice.cpp
Actions #8

Updated by Florian Uhlig almost 6 years ago

Hi Tariq,

could you please update you cbmroot installation. I was rearranging the beamtime directories, it could be that you fetched a version which was broken. Revision 10196 and 10197 work as you can check on https://cdash.gsi.de/index.php?project=CbmRoot

Actions #9

Updated by Tariq Mahmoud almost 6 years ago

Hi Florian,

i have just installed cbmroot from scratch and used the following versions of external packages:

export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/fairroot/v-15.07a_fairsoft-jul15p3_root5
export SIMPATH=/cvmfs/fairroot.gsi.de/fairsoft/jul15p3_root5

When running cmake I get:

CMake Error at CMakeLists.txt:72 (String):
  string sub-command FIND requires 3 or 4 parameters.

CMake Error at CMakeLists.txt:73 (If):
  if given arguments:

    "EQUAL" "-1" 

  Unknown arguments specified

-- Configuring incomplete, errors occurred!
Actions #10

Updated by Tariq Mahmoud almost 6 years ago

It would be kind of any of you, who may have a solution, if he or she can help. thanks.

Actions #11

Updated by Florian Uhlig almost 6 years ago

Hi Tariq,

I tested my self with the following versions of FairSoft and FairRoot

export SIMPATH=/cvmfs/fairroot.gsi.de/fairsoft/nov15p1_root5/
export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/fairroot/v-15.11d_fairsoft-nov15p1_root5/

and for my compilation and test runs did not show any problems. The current CbmRoot trunk version anyway needs a FairRoot version v-15.11 or later, so you shouldn't use the old versions.

Actions #12

Updated by Florian Uhlig almost 6 years ago

  • Assignee set to Tariq Mahmoud

Hi Tariq,

there is also an issue with the Firewall. You have to define a proxy server in your SVN configuration. Please check https://redmine.cbm.gsi.de/projects/cbmroot/wiki/InstallCbmRootKronos where this is described in detail.

Actions #13

Updated by Julian Book almost 6 years ago

for me the proxy settings do not work any longer (starting today). I don't know what has changed on the server site:

[CbmEnv] lxbk0198 /lustre/nyx/cbm/users/jbook/CBMsoft/test svn info https://subversion.gsi.de/cbmsoft/cbmroot/fieldmaps  
svn: E120107: Unable to connect to a repository at URL 'https://subversion.gsi.de/cbmsoft/cbmroot/fieldmaps'
svn: E120107: Error running context: The proxy server returned an error while setting up the SSL tunnel.

[CbmEnv] lxbk0198 /lustre/nyx/cbm/users/jbook/CBMsoft/test env | grep -i proxy
NO_PROXY=localhost,127.0.0.1,10.10.0.0/16,
http_proxy=http://proxy.gsi.de:3128
FTP_PROXY=http://proxy.gsi.de:3128
ftp_proxy=http://proxy.gsi.de:3128
RSYNC_PROXY=http://proxy-ib2.gsi.de:3128/
rsync_proxy=http://proxy-ib2.gsi.de:3128/
HTTPS_PROXY=http://proxy.gsi.de:3128
https_proxy=http://proxy.gsi.de:3128
no_proxy=localhost,127.0.0.1,10.10.0.0/16,
HTTP_PROXY=http://proxy.gsi.de:3128

do you have advice?
Actions #14

Updated by Florian Uhlig almost 6 years ago

Hi Julian,

the setting of the GSI proxy server has been changed two days ago. Now connections from GSI to GSI via the proxy are rejected by the proxy. This is exactly what you see now. You have to add the following line to your subversion server configuration file at $HOME/.subversion/servers

http-proxy-exceptions = *.gsi.de

With this change SVN will not try to use the server when connection to subversion.gsi.de.

I have already updated the wiki page.

Actions #15

Updated by Julian Book almost 6 years ago

from outside gsi I can connect to the svn server without problems

Actions #16

Updated by Julian Book almost 6 years ago

many thanks florian, it works now. Do you know by change why such changes are not communicated via mailing lists (e.g. HPC-INFO or ) or when you log in? :(

Actions #17

Updated by Pierre-Alain Loizeau 6 months ago

  • Related to Support #2360: Top issue for Cbmroot building or compilation (cmake/make) issues added
Actions #18

Updated by Florian Uhlig 6 months ago

  • Status changed from Resolved to Closed

Close the issue since it was resolved 5 years ago but the issue wasn't closed.

Actions

Also available in: Atom PDF