[CentOS] centos 5.5 oscar: gcc41, gcc44 and gfortran41, gfortran44

Wed Sep 1 16:20:22 UTC 2010
giggzounet <giggzounet at gmail.com>

Le 01/09/2010 18:06, Marcelo M. Garcia a écrit :
> giggzounet wrote:
>> Hi,
>>
>> I'm totally new with centos...we have a cluster in our labo with centos
>> oscar. 
>> But the gcc is not a link to gcc41 or gcc44. it is just an executable.
>> idem for gfortran. So which is the good way on centOS to choose the
>> gcc44 and gfortran44 per default.
>>
> 
> Hi
> 
> I not sure if I understood the problem, but if your are using OSCAR, and 
> if I remember right, you can install as many compiler as you want, but 
> you select using the utility "module", like "module load gcc41" or 
> "module load gcc44". Of course, you have to configure the environment.
> 
> Then you put the right module in your configuration file: bashrc or 
> bash_profile.
> 
> Hope this helps
> 
> Marcelo

I will take a look into that!

at the moment:
[18:19:54] root at master ~ # module list
Currently Loaded Modulefiles:
  1) torque-oscar/2.1.10     2) switcher/1.0.13         3) sge/6.0u9
           4) default-manpath/1.0.1   5) oscar-modules/1.0.5

thx