cd /usr/lib
sudo ln -s gcc/darwin/3.3/crt2.o .
Then, you can set up your environmental variables just like you would using ifort in Linux. For example:
export FC=ifort
export F90=ifort
export FFLAGS="-O -mp"
export CPPFLAGS="-DNDEBUG -DpgiFortran"
Then, like always, run
./configure --prefix=/usr/local
make
No comments:
Post a Comment