Detectors file size can't be larger than 2.1 GB

Bug #1276652 reported by Jean Mensa on 2014-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fluidity
Undecided
Michael Lange

Bug Description

in my configuration (openmpi-1.4.5) it seems that the detectors file can't grow larger than 2.1GB which I think is due to a problem in Diagnostic_variables.F90. At line 2732 (fix-lagr-detectors branch) realsize is declared as integer(4) which causes mpi_write_at to not be able to access the end of files larger than 2.1GB. Changing the type of realsize to MPI_OFFSET_KIND solved the problem for me but seems to fail in buildbot...

Jean Mensa (jmensa) wrote :
Changed in fluidity:
status: New → Confirmed
assignee: nobody → Michael Lange (michael-lange)
Michael Lange (michael-lange) wrote :

Hi Jean,

I think I found the problem. Can you please test the fix in the fix-detector-filesize branch on your setup?

Thanks,
Michael

Jean Mensa (jeanmensa) wrote :

It works but I think there is an include mpi_interfaces.mod missing in the Makefile under Detector_Data_Types.F90.
Thank you for looking into this,
Jean

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers