[MITgcm-support] ifort

Gus Correa gus at ldeo.columbia.edu
Thu Jul 10 14:35:46 EDT 2008


Hi Nataliya (and list)

It looks like your Unix/Linux search path doesn't point to the Intel 
Fortran binary directory.

1) Check if ifort is on your path, using the "which" command:

which ifort

2) If it is not on your path, make sure you run the Intel Fortran scripts
to setup your environment, before you try to use it.
They add the Intel directories to your path.

For the Fortran compiler:

/opt/intel/fce/10.1.15/bin/ifortvars.sh (if you use bash or sh)
/opt/intel/fce/10.1.15/bin/ifortvars.csh (if you use csh or tcsh)

For the debugger:

/opt/intel/idbe/10.1.15/bin/idbvars.sh (if you use bash or sh)
/opt/intel/idbe/10.1.15/bin/bin/idbvars.csh (if you use csh or tcsh)

(In 32-bit machines use fc instead of fce, and idb, instead of idbe.)

I assume the path you sent on your message is the correct.
Please check it out.

You can include these commands in your .cshrc or .bashrc (or equivalent) 
file in
your home directory, which is a more convenient way to have the 
environment setup whenever you login.

I hope this helps,
Gus Correa

-- 
---------------------------------------------------------------------
Gustavo J. Ponce Correa, PhD - Email: gus at ldeo.columbia.edu
Lamont-Doherty Earth Observatory - Columbia University
P.O. Box 1000 [61 Route 9W] - Palisades, NY, 10964-8000 - USA
Oceanography Bldg., Rm. 103-D, ph. (845) 365-8911, fax (845) 365-8736
---------------------------------------------------------------------


Nataliya Stashchuk wrote:

> Hi MITgcm users,
>
> I was trying to run mitgcm with ifort and got error massage after make 
> procedure
>
> make: ifort: Command not found
>
> make: *** [mitgcmuv] Error 127
>
> My previous actions were:
>
> 1. ifort was installed in /opt/intel/fce/10.1.05/
>
> 2. I prepared optfile where I specified FC=’ 
> /opt//intel/fce/10.1.05/bin/ifort’ and FC90C=’ 
> /opt/intel/fce/10.1.05/bin/ifort’ for fortran
>
> 3. ../../../tools/genmake2 –mods=../code –optfile=../optfile/optfile
>
> 4. make depend
>
> 5. make
>
> I use Linux Open SUSE on AMD64.
>
> Could somebody help?
>
> Nataliya
>
>------------------------------------------------------------------------
>
>_______________________________________________
>MITgcm-support mailing list
>MITgcm-support at mitgcm.org
>http://mitgcm.org/mailman/listinfo/mitgcm-support
>  
>




More information about the MITgcm-support mailing list