Index: head/science/Makefile =================================================================== --- head/science/Makefile (revision 484788) +++ head/science/Makefile (revision 484789) @@ -1,304 +1,305 @@ # $FreeBSD$ # COMMENT = Scientific ports SUBDIR += 2d-rewriter SUBDIR += ALPSCore SUBDIR += InsightToolkit SUBDIR += MOOSE-neural-simulator SUBDIR += PETSc SUBDIR += R-cran-AMORE SUBDIR += R-cran-DCluster SUBDIR += R-cran-Epi SUBDIR += R-cran-bayesm SUBDIR += R-cran-cmprsk SUBDIR += R-cran-e1071 SUBDIR += R-cran-eco SUBDIR += R-cran-epicalc SUBDIR += R-cran-etm SUBDIR += R-cran-fastICA SUBDIR += R-cran-kernlab SUBDIR += R-cran-snow SUBDIR += R-cran-som SUBDIR += R-cran-udunits2 SUBDIR += abinit SUBDIR += afni SUBDIR += aircraft-datcom SUBDIR += antioch SUBDIR += atom SUBDIR += atompaw SUBDIR += avogadro SUBDIR += avogadro2 SUBDIR += avogadrolibs SUBDIR += bagel SUBDIR += bddsolve SUBDIR += bodr SUBDIR += brian SUBDIR += buddy SUBDIR += cdcl SUBDIR += cdf SUBDIR += cdo SUBDIR += cgnslib SUBDIR += cgribex SUBDIR += checkmol SUBDIR += chemical-mime-data SUBDIR += chemps2 SUBDIR += chemtool SUBDIR += chemtool-devel SUBDIR += chrono SUBDIR += clhep SUBDIR += clipper SUBDIR += code_saturne SUBDIR += colt SUBDIR += coordgenlibs SUBDIR += coot SUBDIR += cp2k SUBDIR += crf++ SUBDIR += dalton SUBDIR += datawarrior SUBDIR += dcl SUBDIR += devisor SUBDIR += dft_tools SUBDIR += dftbplus SUBDIR += dkh SUBDIR += dlib-cpp SUBDIR += dlpoly-classic SUBDIR += eccodes SUBDIR += elk SUBDIR += epte SUBDIR += erd SUBDIR += erkale SUBDIR += esys-particle SUBDIR += fastcap SUBDIR += fasthenry SUBDIR += fisicalab SUBDIR += fleur SUBDIR += fsom SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += gabedit SUBDIR += gamess-us SUBDIR += gchemutils SUBDIR += gdma SUBDIR += getdp SUBDIR += ghemical SUBDIR += ghmm SUBDIR += gnudatalanguage SUBDIR += gpaw-setups SUBDIR += gramps SUBDIR += grib_api SUBDIR += gromacs SUBDIR += gsmc SUBDIR += gtamsanalyzer SUBDIR += gwyddion SUBDIR += h5utils SUBDIR += harminv SUBDIR += hdf SUBDIR += hdf5 SUBDIR += hdf5-18 SUBDIR += hypre SUBDIR += iboview SUBDIR += isaac-cfd SUBDIR += jdftx SUBDIR += jstrack SUBDIR += kalzium SUBDIR += kalzium-kde4 SUBDIR += kst2 SUBDIR += lammps SUBDIR += lamprop SUBDIR += latte SUBDIR += libaec SUBDIR += libccp4 SUBDIR += libcint SUBDIR += libctl SUBDIR += libefp SUBDIR += libgeodecomp SUBDIR += libghemical SUBDIR += libgridxc SUBDIR += libint SUBDIR += libint2 SUBDIR += libkml SUBDIR += liblinear SUBDIR += libmsym SUBDIR += liboglappth SUBDIR += libquantum SUBDIR += libssm SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libxc SUBDIR += liggghts SUBDIR += linsmith SUBDIR += lm SUBDIR += luscus SUBDIR += madness SUBDIR += maeparser SUBDIR += massxpert SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += mcxtrace SUBDIR += mcxtrace-comps SUBDIR += mdynamix SUBDIR += medit SUBDIR += meep SUBDIR += metaf2xml SUBDIR += metaphysicl SUBDIR += minc2 SUBDIR += mmdb2 SUBDIR += mmtf SUBDIR += mol2ps SUBDIR += molgif SUBDIR += molsketch SUBDIR += mpb SUBDIR += mpqc SUBDIR += msms SUBDIR += multiwfn SUBDIR += namd SUBDIR += netcdf SUBDIR += netcdf-cxx SUBDIR += netcdf-fortran SUBDIR += nifticlib SUBDIR += nwchem SUBDIR += octopus SUBDIR += openbabel SUBDIR += openkim SUBDIR += openmx SUBDIR += openstructure SUBDIR += p5-Algorithm-SVMLight SUBDIR += p5-Chemistry-3DBuilder SUBDIR += p5-Chemistry-Bond-Find SUBDIR += p5-Chemistry-Canonicalize SUBDIR += p5-Chemistry-Elements SUBDIR += p5-Chemistry-File-MDLMol SUBDIR += p5-Chemistry-File-Mopac SUBDIR += p5-Chemistry-File-PDB SUBDIR += p5-Chemistry-File-SLN SUBDIR += p5-Chemistry-File-SMARTS SUBDIR += p5-Chemistry-File-SMILES SUBDIR += p5-Chemistry-File-VRML SUBDIR += p5-Chemistry-File-XYZ SUBDIR += p5-Chemistry-FormulaPattern SUBDIR += p5-Chemistry-InternalCoords SUBDIR += p5-Chemistry-Isotope SUBDIR += p5-Chemistry-MacroMol SUBDIR += p5-Chemistry-MidasPattern SUBDIR += p5-Chemistry-Mok SUBDIR += p5-Chemistry-Mol SUBDIR += p5-Chemistry-Pattern SUBDIR += p5-Chemistry-Reaction SUBDIR += p5-Chemistry-Ring SUBDIR += p5-Geo-BUFR SUBDIR += p5-Geo-Coordinates-Converter SUBDIR += p5-Geo-Coordinates-Converter-iArea SUBDIR += p5-Geo-ReadGRIB SUBDIR += p5-Geo-WebService-Elevation-USGS SUBDIR += p5-Mcstas-Tools SUBDIR += p5-PerlMol SUBDIR += p5-Physics-Unit SUBDIR += paje SUBDIR += paraview SUBDIR += pcmsolver SUBDIR += pnetcdf SUBDIR += psychopy SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-PyFR SUBDIR += py-MDAnalysis SUBDIR += py-MDAnalysisTests SUBDIR += py-OpenFermion SUBDIR += py-PyQuante SUBDIR += py-ScientificPython SUBDIR += py-SimpleSpectral SUBDIR += py-abipy SUBDIR += py-ase SUBDIR += py-avogadrolibs SUBDIR += py-cdo SUBDIR += py-chempy SUBDIR += py-coards SUBDIR += py-dlib SUBDIR += py-gpaw SUBDIR += py-gsd SUBDIR += py-h5py SUBDIR += py-hcluster SUBDIR += py-kinematics SUBDIR += py-mdp SUBDIR += py-mlpy SUBDIR += py-mmtf-python SUBDIR += py-molmod SUBDIR += py-netCDF4 SUBDIR += py-obspy SUBDIR += py-openpiv SUBDIR += py-paida SUBDIR += py-phono3py SUBDIR += py-phonopy SUBDIR += py-pupynere SUBDIR += py-pyaixi SUBDIR += py-pydicom SUBDIR += py-pymatgen SUBDIR += py-pymol SUBDIR += py-pyosf SUBDIR += py-pysal SUBDIR += py-pyteomics SUBDIR += py-pyteomics.biolccc SUBDIR += py-qspin SUBDIR += py-quantities SUBDIR += py-rmf SUBDIR += py-scikit-fuzzy SUBDIR += py-scikit-learn SUBDIR += py-scikit-sparse SUBDIR += py-scimath SUBDIR += py-scipy SUBDIR += py-scoria SUBDIR += py-spglib SUBDIR += py-veusz SUBDIR += py-ws2300 SUBDIR += pybrain SUBDIR += pycdf SUBDIR += pynn SUBDIR += qbox SUBDIR += qcl SUBDIR += qmcpack SUBDIR += qtresistors SUBDIR += quantum-espresso SUBDIR += qwalk SUBDIR += rdkit SUBDIR += rmf SUBDIR += rubygem-ai4r SUBDIR += rubygem-cdo SUBDIR += rubygem-rgeo SUBDIR += rubygem-rgeo-geojson SUBDIR += rubygem-rgeo-proj4 SUBDIR += rubygem-rgeo-shapefile SUBDIR += rubygem-ruby-dcl SUBDIR += rubygem-ruby-netcdf SUBDIR += siesta SUBDIR += sigrok-cli SUBDIR += sigrok-firmware SUBDIR += sigrok-firmware-fx2lafw SUBDIR += sigrok-firmware-utils SUBDIR += silo SUBDIR += simint SUBDIR += simlib SUBDIR += simsmith + SUBDIR += sparta SUBDIR += spglib SUBDIR += step SUBDIR += step-kde4 SUBDIR += svmlight SUBDIR += szip SUBDIR += teem SUBDIR += tfel SUBDIR += tinker SUBDIR += triqs SUBDIR += udunits SUBDIR += v_sim SUBDIR += vmd SUBDIR += voro++ SUBDIR += wannier90 SUBDIR += wxmacmolplt SUBDIR += xcrysden SUBDIR += xdrawchem SUBDIR += xfce4-equake-plugin SUBDIR += xmakemol .include Index: head/science/sparta/Makefile =================================================================== --- head/science/sparta/Makefile (nonexistent) +++ head/science/sparta/Makefile (revision 484789) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= sparta +PORTVERSION= ${GH_TAGNAME:C/([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\3.\2.\1/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/} +CATEGORIES= science +PKGNAMESUFFIX= -dsmc # Direct Simulation Monte Carlo + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Gas simulator: SPARTA DSMC software package + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/../LICENSE + +BUILD_DEPENDS= bash:shells/bash + +USES= gmake localbase +USE_GITHUB= yes +GH_TAGNAME= 29Oct2018 + +CXXFLAGS+= -DSPARTA_UNORDERED_MAP + +WRKSRC_SUBDIR= src +MAKE_ARGS= CC=${CXX} CCFLAGS="${CXXFLAGS}" LINK=${CXX} LINKFLAGS="${LDFLAGS}" mode=exe + +OPTIONS_SINGLE= PARALLEL +OPTIONS_SINGLE_PARALLEL= SERIAL MPI +OPTIONS_DEFAULT= MPI +PARALLEL_DESC= Parallelization + +SERIAL_DESC= Serial: no parallelization +SERIAL_ALL_TARGET= serial +SERIAL_PLIST_FILES= bin/spa_serial + +MPI_ALL_TARGET= mpi +MPI_PLIST_FILES= bin/spa_mpi +MPI_CXXFLAGS= -I${LOCALBASE}/mpi/openmpi/include +MPI_LDFLAGS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so -Wl,-rpath=${LOCALBASE}/mpi/openmpi/lib +MPI_LIB_DEPENDS= libmpi.so:net/openmpi + +post-patch: + @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/spa_* ${STAGEDIR}${PREFIX}/bin/ + +.include Property changes on: head/science/sparta/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/sparta/distinfo =================================================================== --- head/science/sparta/distinfo (nonexistent) +++ head/science/sparta/distinfo (revision 484789) @@ -0,0 +1,3 @@ +TIMESTAMP = 1541984571 +SHA256 (sparta-sparta-2018.10.29-29Oct2018_GH0.tar.gz) = 769461c0538727ee06bef72762c49eb496c4f8dd8d33adcb4e9e85bd4bca8496 +SIZE (sparta-sparta-2018.10.29-29Oct2018_GH0.tar.gz) = 19956946 Property changes on: head/science/sparta/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/sparta/files/patch-STUBS_mpi.c =================================================================== --- head/science/sparta/files/patch-STUBS_mpi.c (nonexistent) +++ head/science/sparta/files/patch-STUBS_mpi.c (revision 484789) @@ -0,0 +1,11 @@ +--- STUBS/mpi.c.orig 2018-11-12 01:31:19 UTC ++++ STUBS/mpi.c +@@ -20,7 +20,7 @@ + #include + #include + #include +-#include ++#include "mpi.h" + + /* data structure for double/int */ + Property changes on: head/science/sparta/files/patch-STUBS_mpi.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/sparta/pkg-descr =================================================================== --- head/science/sparta/pkg-descr (nonexistent) +++ head/science/sparta/pkg-descr (revision 484789) @@ -0,0 +1,15 @@ +SPARTA is a parallel DSMC code for performing simulations of low-density gases +in 2D or 3D. Particles advect through a hierarchical Cartesian grid that +overlays the simulation box. The grid is used to group particles by grid cell +for purposes of performing collisions and chemistry. Physical objects with +triangulated surfaces can be embedded in the grid, creating cut and split grid +cells. The grid is also used to efficiently find particle/surface collisions. + +SPARTA runs on single processors or in parallel using message-passing techniques +and a spatial-decomposition of the simulation domain. The code is designed to be +easy to modify or extend with new functionality. + +SPARTA was developed at Sandia National Laboratories, a US Department of Energy +(DOE) laboratory. + +WWW: https://sparta.sandia.gov/ Property changes on: head/science/sparta/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property