Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Transitioning to ifx

whatheway
新規コントリビューター I
2,973件の閲覧回数

What would be the new intel compiler options for these old compilers?

  export CC=icc
  export CXX=icpc
  export FC=ifort
  export F77=ifort
  export F90=ifort
  export MPIFC=mpiifort
  export MPIF77=mpiifort
  export MPIF90=mpiifort
  export MPICC=mpiicc
  export MPICXX=mpiicpc
  export CFLAGS="-fPIC -fPIE -O3 "
  export FFLAGS="-m64"
  export FCFLAGS="-m64"
0 件の賞賛
1 解決策
Ron_Green
モデレーター
2,964件の閲覧回数
  export CC=icx
  export CXX=icpx
  export FC=ifx
  export F77=ifx
  export F90=ifx
  export MPIFC="mpiifort -fc=ifx"
  export MPIF77="mpiifort -fc=ifx"
  export MPIF90="mpiifort -fc=ifx"
  export MPICC="mpiicc -cc=icx"
  export MPICXX="mpiicpc -cxx=icpx"
  export CFLAGS="-fPIC -fPIE -O3 "
  export FFLAGS="-m64"
  export FCFLAGS="-m64"

元の投稿で解決策を見る

3 返答(返信)
Ron_Green
モデレーター
2,965件の閲覧回数
  export CC=icx
  export CXX=icpx
  export FC=ifx
  export F77=ifx
  export F90=ifx
  export MPIFC="mpiifort -fc=ifx"
  export MPIF77="mpiifort -fc=ifx"
  export MPIF90="mpiifort -fc=ifx"
  export MPICC="mpiicc -cc=icx"
  export MPICXX="mpiicpc -cxx=icpx"
  export CFLAGS="-fPIC -fPIE -O3 "
  export FFLAGS="-m64"
  export FCFLAGS="-m64"
whatheway
新規コントリビューター I
2,159件の閲覧回数

export CC=icx
export CXX=icpx
export FC=ifx
export F77=ifx
export F90=ifx
export MPIFC=mpiifx
export MPIF77=mpiifx
export MPIF90=mpiifx
export MPICC=mpiicx
export MPICXX=mpiicpx

Would these work @Ron_Green  since the mpiifort command is going away?

Ron_Green
モデレーター
2,061件の閲覧回数

@whatheway Yes, the Intel MPI team added mpiifx wrapper somewhat recently.  The old way of 

mpiifort -fc=ifx 

should probably be replaced with mpiifx and won't need the "-fc=ifx"

 

 

返信