Opened 15 years ago
Closed 15 years ago
#19772 closed defect (fixed)
netcdf 4.0 openmpi dependency
Reported by: | Chris.Barker@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | netcf openmpi | Cc: | |
Port: | netcdf |
Description
I'm trying to build netcdf 4.0, as of SVN revision 51494, and it fails with:
configure: finding C compiler checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
Looking into the Portfile, I see:
configure.fc openmpif77 configure.cc openmpicc configure.cxx openmpicxx
if I comment those out, it builds fine -- clearly I don't have the openmpi compilers.
It seems that open mpi needs to be listed as a dependency, or it should be a variant option.
While I'm at it, I'd like to have 4.0.1, and "enable-dap" turned on.
all this requires is changing the version number, the checksums, and add --enable-dap
to the flags. It seems to build fine for me.
Portfile patch is enclosed.
Attachments (2)
Change History (7)
Changed 15 years ago by Chris.Barker@…
Attachment: | netcdf.portfile.patch added |
---|
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Cc: | Chris.Barker@… removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Changed 15 years ago by tenomoto (Takeshi Enomoto)
Attachment: | Portfile.diff added |
---|
comment:3 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I separated openmpi as a variant since not everyone needs it. I also enabled dap as a variant.
comment:4 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to takeshi@… |
---|---|
Status: | reopened → new |
It's nomaintainer, so you can go ahead and check this in.
comment:5 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I was going to do so. But I thought it would be nice to have some time for comments. Actually, I committed it as r52992.
patch for netcdf portfile to remove open mpi depenency, upgrade to 4.0.1, and add opendap support.