Skip to content
Permalink
Browse files

plumed: added optimization flags

  • Loading branch information
GiovanniBussi authored and mojca committed Apr 11, 2018
1 parent 6e03124 commit 5b772f8eebfd3f431bce6804599daad1995fa43e
Showing with 8 additions and 0 deletions.
  1. +8 −0 science/plumed/Portfile
@@ -12,6 +12,8 @@ PortGroup debug 1.0
github.setup plumed plumed2 2.4.1 v
name plumed

revision 1

categories science

# Most of the PLUMED code is L-GPL3. However, PLUMED containts
@@ -66,6 +68,11 @@ if {[mpi_variant_isset]} {
}
}

# Optimization flags.
# Notice that plumed is computationally heavy and that
# this change has a significant impact in plumed performances
configure.cxxflags-replace -Os -O3

# Libraries.
# Library names are specified here to make sure that
# only requested packages are linked.
@@ -103,6 +110,7 @@ pre-configure {
subport plumed-devel {
github.setup plumed plumed2 f0eab70af62be7797ed007565d42a2ab88c6303b
version 2.5-20180302
revision 1
description ${description} (development version)
long_description ${long_description} (development version)
conflicts plumed

0 comments on commit 5b772f8

Please sign in to comment.
You can’t perform that action at this time.