FORTRAN preprocessor
Kewen.Lin
linkw@linux.ibm.com
Tue Dec 17 06:10:00 GMT 2019
on 2019/12/17 ä¸å3:30, SOUREN ADHIKARY wrote:
> Sorry I forgot to attached arch.mk file.
> The arch.mk is given below
>
>
> FCPP = cpp -P -C
Hi,
C preprocessor is usable for Fortran, is there one cpp in your PATH (`which cpp`)?
Or check the install dir of actual compiler covered by mpiCC, I guess there should
be one.
BR,
Kewen.
> F90free = /usr/lib64/openmpi/bin/mpif90 -ffree-line-length-none -Wall
> -pedantic-errors -std=gnu -fopenmp
> LINK = /usr/lib64/openmpi/bin/mpif90 -fopenmp
> FOPTS = -g -O3 -fbacktrace -fcheck=bounds,do,mem,pointer,recursion
> FNOOPTS = $(FOPTS)
> MOD_OPT = -J
> INCFLAG = -I
>
> C_PARAFLAG = -DPARA
> CC_COMP = /usr/lib64/openmpi/bin/mpiCC -Wall -pedantic-errors -std=c++0x
> -fopenmp#-fopenmp
> C_COMP = /usr/lib64/openmpi/bin/mpicc -Wall -std=c99 -fopenmp #-fopenmp
> C_LINK = /usr/lib64/openmpi/bin/mpiCC -fopenmp
> C_OPTS = -g -O3
>
> On Tue, Dec 17, 2019 at 12:55 AM SOUREN ADHIKARY <
> sourenadhikary@students.iisertirupati.ac.in> wrote:
>
>> Respected Sir/Mam,
>> Kindly help to find out *FORTRAN
>> preprocessor *in my system (linux 18).
>> I am using G
>> *FORTRAN version {GNU Fortran (GCC) 4.8.5 20150623}. *
>> Basically I need 'FCPP =' flags in arch.mk file.
>>
>> Thank you in advance
>>
>>
More information about the Gcc-help
mailing list