Skip to content

Commit

Permalink
removed MPIIO from utils_halo
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricia Larsen committed Nov 4, 2024
1 parent 6743a5c commit cce13ac
Showing 2 changed files with 2 additions and 166 deletions.
164 changes: 0 additions & 164 deletions density_maps/src/utils_diff.cxx

This file was deleted.

4 changes: 2 additions & 2 deletions density_maps/src/utils_halo.cxx
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ using namespace std;

void read_halos(PLHalos* P, string file_name) {

GenericIO GIO(MPI_COMM_WORLD,file_name,GenericIO::FileIOMPI);
GenericIO GIO(MPI_COMM_WORLD,file_name);
GIO.openAndReadHeader(GenericIO::MismatchRedistribute);
size_t num_elems = GIO.readNumElems();

@@ -81,7 +81,7 @@ void read_halos(PLHalos* P, string file_name) {

void read_particles(PLParticles* P, string file_name) {

GenericIO GIO(MPI_COMM_WORLD,file_name,GenericIO::FileIOMPI);
GenericIO GIO(MPI_COMM_WORLD,file_name);
GIO.openAndReadHeader(GenericIO::MismatchRedistribute);
size_t num_elems = GIO.readNumElems();

0 comments on commit cce13ac

Please sign in to comment.