You might find these useful (from the Intel website). I've never used a
script, all I've had to do is make sure the Fortran name mangling lines
up. By default g77/g95/gfortran add one or two underscores to exported
symbols, whereas Intel adds one only. In the
LinuxCompilersCompatibility60 doc, it describes how to make Intel
compilers link to GNU-compiled libraries by forcing a second underscore
through code changes. I've found it easier to make GNU compilers add
single underscores only and make no code changes. Do this by adding
"-fno-second-underscore" to the GNU fortran compile options. You'll have
to rebuild LAM with this option too.
Damien
> To the wise LAM users;
>
> I've been looking at bringing an additional compiler online for use with
> LAM. I would like to use the GNU and Intel compilers. I've read about a
> dozen or so web pages of clusters that are doing this and all they say is
> run this script and compile as normal. I am having trouble locating
> documentation that would help me create scripts such as these. I have LAM
> compiled with GNU and from what I understand that should be fine even when
> using the Intel compiler for the application binaries.
>
>
>
> Thanks,
>
> Robert LeBlanc
>
> BioAg Computer Support
>
> Brigham Young University
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|