Modify

Opened 19 months ago

#2011 new defect

provide fortran MPI bindings

Reported by: Roland Haas Owned by:
Priority: major Milestone:
Component: EinsteinToolkit thorn Version: development version
Keywords: MPI Cc:

Description

The MPI external library currently does not provide Fortran bindings for MPI. I observe this on a Linux box with OpenMPI installed and mpicxx in the path and with no MPI_XXX set in my option list. ExternalLibraries/MPI parses the output of mpicxx -showme:link which I verified to happen by inspecting its output and bindings/Configuration/Capabilities/make.MPI.defn.

For the autodetection we'd have to also consider the output of mpif90 -showme:link and likely also mpif77 showme:link in case the F90 interfaces are somewhere other than the (typeless) f77 interfaces.

This can be impossible for the case where we build OpenMPI with the toolkit since OpenMPI will provide either F2008 or F90 bindings depending on the compiler and the libraries for the two have different names. This however is something that is only decided in OpenMPI's own configure script.

We also need to make sure mpi.mod and mpif.h are found by Fortran's "USE" and "INCLUDE" statements respectively.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.