[MITgcm-devel] optfiles cleaning
Jean-Michel Campin
jmc at ocean.mit.edu
Wed Sep 7 17:36:56 EDT 2011
Hi,
I would like to clean-up a little bit the list of optfiles (right now,
more than 140).
I have started to merged few optfiles, with the idea of
having only one optfile for non-MPI and MPI built
(merging the +mpi optfile into the previously non-MPI one),
and also doing the same for the OpenMP one (+mth).
This will reduce the number of optfiles, be easier to maintain,
and since almost all the specific options are related
to compiler version rather than MPI/non-MPI choice, it should not
be a problem. Just need to use genmake2 with "-mpi" and/or "-omp"
option(s).
An other advantage is that, when the optfile is not specified,
genmake2 might be able to find the right optfile for an MPI built
(at least it was working for me with linux_amd64_gfortran).
Will do a tag when this merging is done, and then move the old (merged)
optfiles to build_options/unsupported/
Also, I think some optfiles which are platform specific could also
be moved to "unsupported" when the machine is no longer used.
Will try to make a list and ask if it's OK to remove them.
Cheers,
Jean-Michel
More information about the MITgcm-devel
mailing list