Opened 16 years ago

Closed 15 years ago

#14346 closed enhancement (fixed)

gfortran variant of mpich2 and netcdf

Reported by: freezingmariner@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gfortran, python25 Cc:
Port: mpich2 netcdf

Description

I'm a user of ROMS ocean model that's written in Fortran 90 (http://www.myroms.org/). To compile and run ROMS on my Mac (OS X 10.5.x) I need mpich2, netcdf3.6.2 and gcc42 (gfortran). I'd like to have a variant of mpich2 that's compiled with the --enable-f90 flag using gfortran, and a variant of netcdf compiled with FCFLAGS, FFLAGS and F90FLAGS that includes -fno-second-underscore. For ROMS to link properly with netcdf library the --enabled-shared must be turned off when compiling netcdf. Also it'd be great if you make mpich2 dependent on python25 or Apple's builtin version of python (2.5.1) that came with Leopard instead of python24. Thanks!

Change History (6)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: fulton@… added

Cc netcdf maintainer.

comment:2 Changed 16 years ago by dweber@…

Wow, that sounds like a lot of custom changes to get your particular ROMS system working. If you don't get much progress on this from all the package maintainers, you could try to make the custom changes yourself. I've done this a few times, using a local port repository for my own sandpit, ie: http://guide.macports.org/#development.local-repositories

I started out using port info <port_name> to identify the category and then create my own port category (eg: I use ~/ports/databases/postgresql83 to play with that port). I use port edit <port_name> to pull up the current Portfile and save it into my sandpit.

Good luck, Darren

comment:3 Changed 15 years ago by blb@…

Port: mpich2 netcdf added

Added gfortran variant (for gcc43) to mpich2 in r47155.

comment:4 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:5 Changed 15 years ago by blb@…

Cc: fulton@… removed
Owner: changed from macports-tickets@… to takeshi@…

netcdf has a new maintainer.

comment:6 Changed 15 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

The underscoring problem is fixed in r57520. The static variant is added in r53277. I don't add mpich2 variant to netcdf since mpich2 has nomaintainer. I recommend openmpi instead.

Note: See TracTickets for help on using tickets.