f951: error: unrecognized command line option "-fpp" on RHEL 6.6 - Forum - Delft3D
Forum
- Home
- 3. Archive
- General
- Compilation on Linux
- f951: error: unrecognized command line option "-fpp" on RHEL 6.6
f951: error: unrecognized command line option "-fpp" on RHEL 6.6
KRIS Zh, modified 7 Years ago.
f951: error: unrecognized command line option "-fpp" on RHEL 6.6
Youngling Posts: 3 Join Date: 12/16/13 Recent Posts
Dear all:
OS: RHEL 6.6 (64bit )
Intel Compiler : 17.0.5 (Intel parallel_studio_xe_2017_update5)
Delft3d : Latest (svn co https://svn.oss.deltares.nl/repos/delft3d/trunk delft3dtrunk)
I can successfully run ./autogen.sh and ./configure
But i got error when I use the :
mpif90 :
LD_LIBRARY_PATH
icc :
ifort :
I'd appreciate any suggestion .
Thanks.
BR
Kris
OS: RHEL 6.6 (64bit )
Intel Compiler : 17.0.5 (Intel parallel_studio_xe_2017_update5)
Delft3d : Latest (svn co https://svn.oss.deltares.nl/repos/delft3d/trunk delft3dtrunk)
I can successfully run ./autogen.sh and ./configure
But i got error when I use the
make ds-install
| 1 | Making install in third_party |
| 2 | make[1]: Entering directory `/opt/source/delft3d/delft3dtrunk/src/third_party' |
| 3 | Making install in interacter_stub |
| 4 | make[2]: Entering directory `/opt/source/delft3d/delft3dtrunk/src/third_party/interacter |
| 5 | Making install in src |
| 6 | make[3]: Entering directory `/opt/source/delft3d/delft3dtrunk/src/third_party/interacter |
| 7 | /bin/sh ../../../libtool --tag=FC --mode=compile mpif90 -fopenmp -g -fpp -recursive threaded -traceback -c -o interacter_stub.lo interacter_stub.f90 |
| 8 | libtool: compile: mpif90 -fopenmp -g -fpp -recursive -reentrancy threaded -traceback -cstub.f90 -fPIC -o .libs/interacter_stub.o |
| 9 | gfortran: threaded: No such file or directory |
| 10 | gfortran: unrecognized option '-recursive' |
| 11 | gfortran: unrecognized option '-reentrancy' |
| 12 | gfortran: unrecognized option '-traceback' |
| 13 | f951:[color=#F71313] error[/color]: unrecognized command line option "-fpp" |
| 14 | make[3]: *** [interacter_stub.lo] Error 1 |
| 15 | make[3]: Leaving directory `/opt/source/delft3d/delft3dtrunk/src/third_party/interacter_ |
| 16 | make[2]: *** [install-recursive] Error 1 |
| 17 | make[2]: Leaving directory `/opt/source/delft3d/delft3dtrunk/src/third_party/interacter_ |
| 18 | make[1]: *** [install-recursive] Error 1 |
| 19 | make[1]: Leaving directory `/opt/source/delft3d/delft3dtrunk/src/third_party' |
| 20 | make: *** [install-recursive] Error 1 |
mpif90 :
| 1 | which mpif90 |
| 2 | /opt/intel/compilers_and_libraries_2017.5.239/linux/mpi/intel64/bin/mpif90 |
LD_LIBRARY_PATH
| 1 | /opt/intel/compilers_and_libraries_2017.5.239/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2017.5.239/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2017.5.239/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2017.5.239/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2017.5.239/linux/tbb/lib/intel64_lin/gcc4.4:/opt/intel/compilers_and_libraries_2017.5.239/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2017.5.239/linux/mkl/lib/intel64_lin:/opt/intel/debugger_2017/libipt/intel64/lib |
icc :
| 1 | which icc |
| 2 | /opt/intel/compilers_and_libraries_2017.5.239/linux/bin/intel64/icc |
ifort :
| 1 | which ifort |
| 2 | /opt/intel/compilers_and_libraries_2017.5.239/linux/bin/intel64/ifort |
I'd appreciate any suggestion .
Thanks.
BR
Kris
Adri Mourits, modified 7 Years ago.
RE: f951: error: unrecognized command line option "-fpp" on RHEL 6.6
Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Kris,
The trunk might not be stable due to changes. Please use the latest tagged version, currently: https://svn.oss.deltares.nl/repos/delft3d/tags/7545/
Regards,
Adri
The trunk might not be stable due to changes. Please use the latest tagged version, currently: https://svn.oss.deltares.nl/repos/delft3d/tags/7545/
Regards,
Adri
KRIS Zh, modified 7 Years ago.
RE: f951: error: unrecognized command line option "-fpp" on RHEL 6.6
Youngling Posts: 3 Join Date: 12/16/13 Recent Posts
Dear Adri :
Thanks for the suggestion , but still not work with https://svn.oss.deltares.nl/repos/delft3d/tags/7545/
Thanks for the suggestion , but still not work with https://svn.oss.deltares.nl/repos/delft3d/tags/7545/
| 1 | [sst@dellT7810 src]$ make ds-install |
| 2 | Making install in third_party_open |
| 3 | make[1]: Entering directory `/home/sst/7545/7545/src/third_party_open' |
| 4 | Making install in version_number |
| 5 | make[2]: Entering directory `/home/sst/7545/7545/src/third_party_open/version_number' |
| 6 | Making install in packages |
| 7 | make[3]: Entering directory `/home/sst/7545/7545/src/third_party_open/version_number/packages' |
| 8 | Making install in version_number |
| 9 | make[4]: Entering directory `/home/sst/7545/7545/src/third_party_open/version_number/packages/version_number' |
| 10 | Making install in src |
| 11 | make[5]: Entering directory `/home/sst/7545/7545/src/third_party_open/version_number/packages/version_number/src' |
| 12 | Makefile:808: warning: overriding commands for target `clean-local' |
| 13 | Makefile:803: warning: ignoring old commands for target `clean-local' |
| 14 | mpif90 -DWITH_DELFTONLINE -O2 -fpp -recursive -reentrancy threaded -traceback -c -o version_number.o version_number.f90 |
| 15 | gfortran: threaded: No such file or directory |
| 16 | gfortran: unrecognized option '-recursive' |
| 17 | gfortran: unrecognized option '-reentrancy' |
| 18 | gfortran: unrecognized option '-traceback' |
| 19 | f951: error: unrecognized command line option "-fpp" |
| 20 | make[5]: *** [version_number.o] Error 1 |
| 21 | make[5]: Leaving directory `/home/sst/7545/7545/src/third_party_open/version_number/packages/version_number/src' |
| 22 | make[4]: *** [install-recursive] Error 1 |
| 23 | make[4]: Leaving directory `/home/sst/7545/7545/src/third_party_open/version_number/packages/version_number' |
| 24 | make[3]: *** [install-recursive] Error 1 |
| 25 | make[3]: Leaving directory `/home/sst/7545/7545/src/third_party_open/version_number/packages' |
| 26 | make[2]: *** [install-recursive] Error 1 |
| 27 | make[2]: Leaving directory `/home/sst/7545/7545/src/third_party_open/version_number' |
| 28 | make[1]: *** [install-recursive] Error 1 |
| 29 | make[1]: Leaving directory `/home/sst/7545/7545/src/third_party_open' |
| 30 | make: *** [install-recursive] Error 1 |
Adri Mourits, modified 7 Years ago.
RE: f951: error: unrecognized command line option "-fpp" on RHEL 6.6 (Answer)
Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Kris,
It seems that you are mixing the Intel C compiler with the Gnu Fortran compiler. See prerequisites, item 6, 7 and 12.
If you use the Gnu C compiler with the Gnu Fortran compiler, using them to compile mpich and netcdf too, line 14 in your output will look like this:
If you do the same with the Intel C and Intel Fortran compiler:
Regards,
Adri
It seems that you are mixing the Intel C compiler with the Gnu Fortran compiler. See prerequisites, item 6, 7 and 12.
If you use the Gnu C compiler with the Gnu Fortran compiler, using them to compile mpich and netcdf too, line 14 in your output will look like this:
| 1 | mpif90 -DWITH_DELFTONLINE -O2 -ffree-line-length-none -cpp -c -o version_number.o version_number.f90 |
If you do the same with the Intel C and Intel Fortran compiler:
| 1 | mpif90 -DWITH_DELFTONLINE -O2 -threads -fpp -recursive -reentrancy threaded -traceback -c -o version_number.o version_number.f90 |
Regards,
Adri
KRIS Zh, modified 7 Years ago.
RE: f951: error: unrecognized command line option "-fpp" on RHEL 6.6
Youngling Posts: 3 Join Date: 12/16/13 Recent Posts
Dear Adri :
Thanks for your kindly remind , i finally find the issue.
The NetCDF have to compile C & Fortran separately after V4.2
https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
After NetCDF & NetCDF-Fortran , i can install Delft3D (7545) successfully.
Thanks again. ^^
BR
Kris
Thanks for your kindly remind , i finally find the issue.
The NetCDF have to compile C & Fortran separately after V4.2
https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
After NetCDF & NetCDF-Fortran , i can install Delft3D (7545) successfully.
| 1 | |
| 2 | NETCDF_CFLAGS="-I<NCDIR>/include/" NETCDF_LIBS="-L<NCDIR>/lib/" NETCDF_FORTRAN_CFLAGS="-I<NCDIR>/include/" NETCDF_FORTRAN_LIBS="-L<NCDIR>/lib" ./configure |
Thanks again. ^^
BR
Kris