Compilation aborted in RedHat

46 views
Skip to first unread message

Zongrun Li

unread,
Jul 15, 2022, 8:22:07 PM7/15/22
to FDS and Smokeview Discussions
Hi all,
I tried to install FDS on Red Hat Enterprise Linux Server release 7.9 (Maipo):
I use intel compiler: ifort version 19.0.5.281. And I have downloaded the source code from github and do:
(1) cd ../fds/Build/impi_intel_linux
(2) bash make_fds.sh
The compilation aborted and the error message is:

Building impi_intel_linux with Intel MPI and ifort

mpiifort -c -m64 -fc=ifort -O2 -ipo -no-wrap-margin -fpp -DGITHASH_PP=\"FDS6.7.9-148-gbe2648c-master\" -DGITDATE_PP=\""Fri Jul 15 15:48:33 2022 -0400\"" -DBUILDDATE_PP=\""Jul 15, 2022  20:20:47\"" -DCOMPVER_PP=\""ifort version 19.0.5.281"\" -DWITH_MKL -I"/usr/local/pace-apps/spack/packages/0.13/linux-rhel7-x86_64/gcc-4.8.5/intel-parallel-studio-cluster.2019.5-rde2uvgb2mq2x6obqaklxppmycfngjgm/compilers_and_libraries_2019.5.281/linux/mkl/include" -DUSE_IFPORT ../../Source/prec.f90

../../Source/prec.f90(5): error #5136: Illegal syntax for IMPLICIT NONE statement.

IMPLICIT NONE (TYPE,EXTERNAL)

--------------^

compilation aborted for ../../Source/prec.f90 (code 1)

make: *** [prec.o] Error 1


If there is any suggestions for solving the problem, I will be appreciate it.


Thanks,

Zongrun

Khalid Moinuddin

unread,
Jul 15, 2022, 9:47:01 PM7/15/22
to FDS and Smokeview Discussions
We recently used for a remote HPC as:

module purge
module load intel-compiler/2021.6.0   
module load intel-mpi/2021.6.0   
module load intel-mkl/2022.1.0
 
cd /../fds-master/Build/impi_intel_linux
 
./make_fds.sh


From: fds...@googlegroups.com <fds...@googlegroups.com> on behalf of Zongrun Li <zongr...@gmail.com>
Sent: Saturday, 16 July 2022 10:22 AM
To: FDS and Smokeview Discussions <fds...@googlegroups.com>
Subject: [fds-smv] Compilation aborted in RedHat
 
EXTERNAL EMAIL: Please be cautious before clicking on any links or downloading attachments.

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/0a13b1c8-ca84-4a47-bd1d-178ab0d040e5n%40googlegroups.com.

dr_jfloyd

unread,
Jul 16, 2022, 6:10:38 AM7/16/22
to FDS and Smokeview Discussions
Update your compiler to a more recent version.     

Kevin McGrattan

unread,
Jul 16, 2022, 6:47:22 AM7/16/22
to fds...@googlegroups.com
The IMPLICIT statement is part of the 2018 Fortran standard. Update to the Intel oneAPI compilers.
Reply all
Reply to author
Forward
0 new messages