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

Justin Stevens jrsteven at jlab.org
Thu Jun 2 13:13:16 EDT 2016


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: 
> 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' 
> 
>> 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: 
> 
>> set GCC_HOME=/apps/gcc/4.9.2 
>> setenv PATH ${GCC_HOME}/bin:${PATH} 
>> setenv LD_LIBRARY_PATH ${GCC_HOME}/lib64:${GCC_HOME}/lib 
> 
> -Justin 
> 
> On Jun 1, 2016, at 3:26 PM, Paul Mattione wrote: 
> 
>> 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: 
>> 
>>> 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 
>> 
>> _______________________________________________ 
>> Halld-physics mailing list 
>> Halld-physics at jlab.org 
>> https://mailman.jlab.org/mailman/listinfo/halld-physics 
> 
> _______________________________________________ 
> 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 

-- 
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




More information about the Halld-offline mailing list