Goeran Klose wrote:
>
> Hello,
>
> Does anybody know hidden compiler flag to how to adjust the Fujitsu Fortran 90
> compiler to appends an additional underscore to the procedure names.
>
> Göran
I don't think Fujitsu supplies that option. By default they append one underscore,
and it looks like there is an option to not append an underscore.
I assume the problem is that the MPI library names have two underscores appended
when they already contain an underscore. This is the default mangling of g77.
You can rebuild the MPI library giving g77 the option -fno-second-underscore to get
the single underscore mangling. If that's not an option, you will have to write a
C wrapper routine with the single underscore for all the MPI routines you use, or
get a compiler that does support the two underscore option.
Bill
--
William F. Mitchell
Mathematical and Computational Sciences Division
National Institute of Standards and Technology
[log in to unmask] http://math.nist.gov/~mitchell
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|