Hey guys. I was trying to compile the CICE on server and encounted with some problems.
The server has both gcc and icc installed and I choose to use the intel compiler. I specify the route of mpif90 and mpicc in the Makefile Macros.
But when I try to compile the model. I got the wrong message as follows.
Somehow the model tries to use gfortran to copile the code instead of intel compiler. And I typed two command in the command window. (which mpif90 and mpif90 --version)
I put the screenshot below. And I feel much more confused. Why the machine can find mpif90 under intel64 directory but returns the GNU related message using mpif90 --version command. Is it possible that I can use "export XXX = ifort" to tell the machine I want to use intel compiler or any other way to solve this problem?
Tkanks. Any suggestion may be helpful.
The server has both gcc and icc installed and I choose to use the intel compiler. I specify the route of mpif90 and mpicc in the Makefile Macros.
But when I try to compile the model. I got the wrong message as follows.
Somehow the model tries to use gfortran to copile the code instead of intel compiler. And I typed two command in the command window. (which mpif90 and mpif90 --version)
I put the screenshot below. And I feel much more confused. Why the machine can find mpif90 under intel64 directory but returns the GNU related message using mpif90 --version command. Is it possible that I can use "export XXX = ifort" to tell the machine I want to use intel compiler or any other way to solve this problem?
Tkanks. Any suggestion may be helpful.