Skip to content

Commit

Permalink
parallel-netcdf: new port
Browse files Browse the repository at this point in the history
See: #2688
See: #2698
  • Loading branch information
thiagoveloso authored and mojca committed Oct 3, 2018
1 parent 9a7c227 commit 8c17811
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions science/parallel-netcdf/Portfile
@@ -0,0 +1,47 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup mpi 1.0

name parallel-netcdf
version 1.10.0

maintainers {@thiagoveloso gmail.com:thiagoveloso} openmaintainer
platforms darwin
categories science devel
license Permissive

description A Parallel I/O Library for NetCDF File Access.

long_description PnetCDF is a high-performance parallel I/O library \
for accessing files in format compatibility with Unidata's \
NetCDF, specifically the formats of CDF-1, 2, and 5. The \
CDF-5 file format, an extension of CDF-2, supports unsigned \
data types and uses 64-bit integers to allow users to define \
large dimensions, attributes, and variables (> 2B array elements).

homepage http://cucis.ece.northwestern.edu/projects/PnetCDF

master_sites http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/

checksums rmd160 4de992174820518019392150d976d7f7eb81375e \
sha256 ed189228b933cfeac3b7b4f8944eb00e4ff2b72cf143365b1a77890980663a09 \
size 2089202

mpi.setup require -gcc7 -gfortran

This comment has been minimized.

Copy link
@ryandesign

ryandesign Oct 4, 2018

Contributor

This disables the gcc7 and gfortran variants. Is that what you meant to do?


#compilers.choose fc f77 f90 cc cxx

depends_build-append port:perl5 \
port:autoconf \
port:automake \
port:libtool \
port:m4

default_variants +gcc7 +mpich

This comment has been minimized.

Copy link
@ryandesign

ryandesign Oct 4, 2018

Contributor

It makes no sense to default to the gcc7 variant when no such variant exists, due to the mpi.setup require -gcc7 -gfortran line above.


use_parallel_build yes

livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {New version \(([^)]+)\)}

1 comment on commit 8c17811

@mojca
Copy link
Member

@mojca mojca commented on 8c17811 Oct 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.