You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... but if I use Intel 2016 or 2017 I get this error:
mpiifort -xHost -ip -fpp -O2 -align -fopenmp -parallel -free -I/apps2/intelics/2017/compilers_and_libraries_2017.0.098/linux/mkl/include/intel64/lp64 -I/apps2/intelics/2017/compilers_and_li\
braries_2017.0.098/linux/mkl/include/fftw -c DP_main.f
DP_main.f(340): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP parallel
------^
DP_main.f(341): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP single
------^
DP_main.f(343): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP task untied
------^
DP_main.f(349): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP end task
------^
DP_main.f(351): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP end single
------^
DP_main.f(352): error #8807: An OpenMP* directive may not appear in a PURE procedure.
!$OMP end parallel
------^
compilation aborted for DP_main.f (code 1)
make: *** [DP_main.o] Error 1
I don't edit your makefile but I override some of the variables from the command line like so:
# Re-use the ifort flags defined in the makefile. ## 1) Use Intel mpiifort instead of GNU mpif90. # 2) For our older version of 2013 ifort, replace -qopenmp with -fopenmp.
make \
FC="mpiifort -xHost -ip -fpp" \
FFLAGS2='-O2 -align -fopenmp -parallel $(FREE) $(SAFE)' \
CFLAGS='-O2 -align -xHost -ip -fopenmp -fno-exceptions -restrict $(SAFE_CXX)' \
LDFLAGS='-static-intel'# -lmpi -L /apps/intelics/2013.1.039/impi/4.1.1.036/intel64/lib'
The text was updated successfully, but these errors were encountered:
@lgcrego if you are not using the Intel compiler, can you please advise which compiler versions you have tried using and know works so that I can help build your software for my university student user? Thank you!
What version of the Intel compiler are you using?
If I use the Intel 2013 suite, it complains about not understanding MPI_Ibcast, presumably because it does not support MPI version 3:
... but if I use Intel 2016 or 2017 I get this error:
I don't edit your
makefile
but I override some of the variables from the command line like so:The text was updated successfully, but these errors were encountered: