GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » external packages on Ubuntu
external packages on Ubuntu [message #7920] Thu, 19 February 2009 11:33 Go to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *natpool.mwn.de
just a short remark for all who want to use pandaroot on Ubuntu (like me) and have problems installing the external packages:

since the g77 is no longer in the standard repositories and the set_compiler.sh script fails to extract the correct version of gfortran, the following lines should be added to the script:

elif [ $(gfortran -dumpversion | grep 'Ubuntu' | cut -c 1-3) ];
    then
      gfortran_major_version=$(gfortran -dumpversion | grep 'Ubuntu' | cut -c 21)
      gfortran_minor_version=$(gfortran -dumpversion | grep 'Ubuntu' | cut -c 23)


Maybe this would be a nice change for the next version.

Cheers,

Felix

[Updated on: Thu, 19 February 2009 11:38]

Report message to a moderator

Re: external packages on Ubuntu [message #7922 is a reply to message #7920] Thu, 19 February 2009 11:46 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Felix

Quote:



since the g77 is no longer in the standard repositories and the set_compiler.sh script fails to extract the correct version of gfortran, the following lines should be added to the script:

Maybe this would be a nice change for the next version.



The problem with your suggestion is that for each new system (Ubuntu, WhateverFlavor) which comes with changed output of the
dumpversion we have to add another lines. Sometimes they change the ouptup string even from one version of the compiler to the next.
There is a better and hopefully unique way to get the required information which will be in the next release of the external packages.

Ciao

Florian
Previous Topic: Segmentation Violation when simulating events with run_sim1.C
Next Topic: Error with PndLheTrackFinder
Goto Forum:
  


Current Time: Wed Nov 27 06:18:58 CET 2024

Total time taken to generate the page: 0.00769 seconds