Re: Help with gfortran

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/22/07, Sébastien Le Roux <leroux@xxxxxxxxxxxxxxxxxxx> wrote:
> Hello everyone,
> I am trying to find the way to call the fortran pre-processor prior than
> the
> gfortran compiler. I have to compile my code wrote with MPI calls
> on a single proc computer, and I don't know how not to compile #ifdef
> MPI ... #endif
> instructions. It works on another computer using the intel fortran compiler
> with the '-fpp' option which call the pre-processor first.

Try 'gfortran -x f95-cpp-input' or 'gfortran -x f77-cpp-input'.


-Asher


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux