Skip to content

Commit

Permalink
Fix io (#102)
Browse files Browse the repository at this point in the history
* Attempt...

* Fix for intel.

Which uses INT to store MPI_COMMs

* Ran beautify
  • Loading branch information
william-dawson authored Feb 1, 2019
1 parent 7c83532 commit 8713272
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Fortran/PSMatrixModule.F90
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,11 @@ RECURSIVE SUBROUTINE ConstructMatrixFromMatrixMarket_ps(this, file_name, &
& MAX_LINE_LENGTH*bytes_per_character
IF (local_offset + local_data_size_plus_buffer .GT. &
& total_file_size) THEN
local_data_size_plus_buffer = (total_file_size - local_offset)
local_data_size_plus_buffer = total_file_size - local_offset
END IF
IF (this%process_grid%global_rank .EQ. &
& this%process_grid%total_processors-1) THEN
local_data_size_plus_buffer = total_file_size - local_offset
END IF
ELSE
local_data_size_plus_buffer = 0
Expand Down

0 comments on commit 8713272

Please sign in to comment.