[Halld-offline] [Halld-physics] Updating software for gcc 4.9.2

Paul Mattione pmatt at jlab.org
Thu Jun 2 13:16:39 EDT 2016


Typing on ifarm1401 in a fresh env:

which module

gives:

module:          aliased to set _prompt="$prompt";set prompt="";eval `/usr/bin/modulecmd tcsh !*`; set _exit=$status; set prompt="$_prompt";unset _prompt;; /usr/bin/test 0 = $_exit;

so maybe this alias isn't being set on the farm nodes somehow? 

 - Paul

----- Original Message -----
From: "Paul Mattione" <pmatt at jlab.org>
To: "Justin Stevens" <jrsteven at jlab.org>
Cc: "Sean Dobbs" <s-dobbs at northwestern.edu>, halld-offline at jlab.org
Sent: Thursday, June 2, 2016 1:15:46 PM
Subject: Re: [Halld-offline] [Halld-physics] Updating software for gcc 4.9.2

It s 

On Jun 2, 2016, at 1:13 PM, Justin Stevens <jrsteven at jlab.org> wrote: 



Yes, the module command works fine for me on the ifarm. But on the batch farm nodes when I submit a job it fails and the error I get is 

module: Command not found. 
hd_root: Command not found. 

-Justin 

----- Original Message ----- 
From: "Sean Dobbs" <s-dobbs at northwestern.edu> 
To: "Mark Ito" <marki at jlab.org>, halld-offline at jlab.org 
Sent: Thursday, June 2, 2016 11:42:17 AM 
Subject: Re: [Halld-offline] [Halld-physics] Updating software for gcc 4.9.2 

The module command works fine on the ifarm under tcsh, but for some reason it's not properly configured under bash using the default environment. Whether they work on the non-interactive farm nodes is a different question... 

---Sean 

On Thu, Jun 2, 2016 at 10:35 AM Mark Ito < marki at jlab.org > wrote: 


I think it is available for tcsh on the farm. 

For bash, Sean did some research and came up with the following recipe: 

export MODULESHOME=/usr/share/Modules 
source $MODULESHOME/init/bash 
module load gcc_4.9.2 

I just pushed (to a branch) new versions of 
$BUILD_SCRIPTS/gluex_env_jlab.(c)sh that execute these commands 
automatically if you are on the farm. 

On 06/02/2016 11:16 AM, Sandy Philpott wrote: 

BQ_BEGIN
Hmmmm... that should be available on the farm nodes as well - let me get that straight. 

Sandy 

----- Original Message ----- 
From: "Justin Stevens" < jrsteven at jlab.org > 
To: "Paul Mattione" < pmatt at jlab.org > 
Cc: " halld-physics at jlab.org Physics" < halld-physics at jlab.org >, "GlueX Offline Software Email List" < halld-offline at jlab.org > 
Sent: Thursday, June 2, 2016 11:01:58 AM 
Subject: Re: [Halld-offline] [Halld-physics] Updating software for gcc 4.9.2 

FYI, the command to load gcc_4.9.2 with 'module' 


BQ_BEGIN
module load gcc_4.9.2 


is not available on the farm nodes at JLab, so you can instead manually set the PATH and LD_LIBRARY_PATH variables when setting up your environment so that it works properly for batch jobs as well. For example: 


BQ_BEGIN
set GCC_HOME=/apps/gcc/4.9.2 
setenv PATH ${GCC_HOME}/bin:${PATH} 
setenv LD_LIBRARY_PATH ${GCC_HOME}/lib64:${GCC_HOME}/lib 

BQ_END

-Justin 

On Jun 1, 2016, at 3:26 PM, Paul Mattione wrote: 


BQ_BEGIN
Also, if you are working on the ifarm, before setting up your environment, you can run: 

module load gcc_4.9.2 

Which will prepend the necessary locations for the gcc libraries and binaries. Then just source your latest environment that is built with gcc 4.9.2. 

- Paul 

On Jun 1, 2016, at 3:22 PM, Paul Mattione < pmatt at jlab.org > wrote: 


BQ_BEGIN
We’ve now updated our software to work with gcc 4.9.2 on the farm. To get your software to work at your home institutions with this version of gcc, you need to: 

1) Upgrade to JANA 0.7.5p2 

2) Update to the latest sim-recon 

And then, if you are using analysis plugins generated by MakeReactionPlugin.pl: 

3) You need to update the SConstruct in each plugin. The easiest way to do this is just to create a dummy plugin: 

MakeReactionPlugin.pl dummy 

and then copy the SConstruct it generates into all of your plugin folders. 

4) In your analysis plugin processor brun(), delete all reference to DEventWriterROOT. Creating of trees is done automatically now. 

- Paul 


_______________________________________________ 
Halld-physics mailing list 
Halld-physics at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-physics 

BQ_END

_______________________________________________ 
Halld-physics mailing list 
Halld-physics at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-physics 

BQ_END

_______________________________________________ 
Halld-offline mailing list 
Halld-offline at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-offline 

_______________________________________________ 
Halld-offline mailing list 
Halld-offline at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-offline 

BQ_END

-- 
marki at jlab.org , (757)269-5295 

_______________________________________________ 
Halld-offline mailing list 
Halld-offline at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-offline 

_______________________________________________ 
Halld-offline mailing list 
Halld-offline at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-offline 

_______________________________________________ 
Halld-offline mailing list 
Halld-offline at jlab.org 
https://mailman.jlab.org/mailman/listinfo/halld-offline 
BQ_END




More information about the Halld-offline mailing list