27 Mar 2012 17:45
environment modules for gcc/gfortran?
Tom Roche <Tom_Roche <at> pobox.com>
2012-03-27 15:45:47 GMT
2012-03-27 15:45:47 GMT
From where can one obtain environment modules for gcc/gfortran? What I mean: Folks in my group (which develops a scientific model) want for us to support (and therefore to regularly build/test on) gcc/gfortran. Unfortunately our cluster is running $ lsb_release -ds "Red Hat Enterprise Linux Server release 5.4 (Tikanga)" $ gfortran --version GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) which is obviously downlevel (3.75 years next week). We currently support pgi and ifort, which our cluster managers keep much more up-to-date using Environment Modules http://sourceforge.net/projects/modules/ such that $ module avail 2>&1 | fgrep -ie 'intel' intel openmpi_pgi intel-11.1 pgi intel-12.0 pgi-11.8 intel-12.1 pgi-11.9 intel_ilp64 pgimpi intel_lp64 pgimpi-11.9 intelmpi pvm3(Continue reading)
, building your own is very straight
forward on linices - just read the instructions at gcc.gnu.org and
follow them to the letter!
Not only does 4.7.0 do good things with typebound procedures but its
implementation of object oriented programming is sufficiently complete
that it deals with all the examples in Damian Rouson's book and he is
intending to use it for teaching purposes.
Best regards
Paul
On Wed, Mar 28, 2012 at 3:55 PM, Katherine Holcomb <kah3f <at> virginia.edu> wrote:
> I don't have an opinion on version; 4.7 was just the latest official version
> of which I'm aware.
>
> We run the equivalent of Centos 5.4 on our cluster and there is an rpm for
> gcc 4.4, but it installs under the names gcc44/gfortran44 which makes it
> less convenient for most users. I wasn't able to get my module script to
> alias gcc44 to gcc or gfortran44 to gfortran, though I haven't put much
> effort into it. Version 4.4 gfortran still lacks many important new
> features that are well supported even in 4.6 (for instance, 4.6.2 will
> compile and run a tiny little "blackjack" program I wrote with type-bound
Our cluster (which is currently running
$ lsb_release -ds
"Red Hat Enterprise Linux Server release 5.4 (Tikanga)"
$ gfortran --version
GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)
$ ldd --version
ldd (GNU libc) 2.5
) is maintained by contractors for a larger group, who dissuade us
from building dependencies as fundamental as gcc. While there are
plans to upgrade the cluster to RHEL 6 "soon," that may not be for
months, and anyway that would only get us to gcc-4.4 (IIUC). However,
one of the admins has stated
> I tried to compile the 4.6 version of GCC from source and could not
> get it to work. If you have a working version, I would be happy to
> put it [up]
RSS Feed