]> https://gitweb.dealii.org/ - candi.git/commitdiff
Changed local.cfg to candi.cfg.
authorUwe Köcher <koecher@hsu-hamburg.de>
Mon, 22 Sep 2014 09:47:41 +0000 (11:47 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Mon, 22 Sep 2014 09:47:41 +0000 (11:47 +0200)
- The local.cfg should be used by the end-user only (now it is safe
  to pull the current candi updates and keep the local configuration
  files).
- Added "switch-project-to" bash script file.

Changes to be committed:
typechange: candi.cfg
deleted:    local.cfg
renamed:    local-DTM++.toolbox.cfg -> project-DTM++.toolbox.cfg
renamed:    local-FEniCS.cfg -> project-FEniCS.cfg
renamed:    local-deal.II.cfg -> project-deal.II.cfg
renamed:    local-gcc.cfg -> project-gcc.cfg
renamed:    local-mpi.cfg -> project-mpi.cfg
new file:   switch-project-to

candi.cfg [changed from file to symlink]
local.cfg [deleted symlink]
project-DTM++.toolbox.cfg [moved from local-DTM++.toolbox.cfg with 100% similarity]
project-FEniCS.cfg [moved from local-FEniCS.cfg with 100% similarity]
project-deal.II.cfg [moved from local-deal.II.cfg with 100% similarity]
project-gcc.cfg [moved from local-gcc.cfg with 100% similarity]
project-mpi.cfg [moved from local-mpi.cfg with 100% similarity]
switch-project-to [new file with mode: 0755]

deleted file mode 100644 (file)
index 96be80e5ce7eff20d36fcf67a65f1e6923627434..0000000000000000000000000000000000000000
--- a/candi.cfg
+++ /dev/null
@@ -1,75 +0,0 @@
-# Global configuration variables go here. You will want to tweak this
-# file to suit your needs. If you want to keep local changes that are
-# not overwritten by repository updates, those can be written
-# to local.cfg instead (entries there will override those in this file).
-
-# Meta-project to build
-PROJECT=deal.II
-CLEAN_BUILD=false
-
-#########################################################################
-#Choose components of deal.II
-DEAL_CONFOPTS=" \
--D CMAKE_BUILD_TYPE=DebugRelease \
--D DEAL_II_COMPONENT_DOCUMENTATION:BOOL=OFF \
--D DEAL_II_WITH_ARPACK:BOOL=OFF \
--D DEAL_II_WITH_BOOST:BOOL=ON \
--D DEAL_II_WITH_FUNCTIONPARSER:BOOL=ON \
--D DEAL_II_WITH_LAPACK:BOOL=ON \
--D DEAL_II_WITH_METIS:BOOL=OFF \
--D DEAL_II_WITH_MUMPS:BOOL=OFF \
--D DEAL_II_WITH_MPI:BOOL=ON \
--D DEAL_II_WITH_NETCDF:BOOL=OFF \
--D DEAL_II_WITH_P4EST:BOOL=ON \
--D DEAL_II_WITH_PETSC:BOOL=ON \
--D DEAL_II_WITH_SLEPC:BOOL=ON \
--D DEAL_II_WITH_THREADS:BOOL=OFF \
--D DEAL_II_WITH_TRILINOS:BOOL=ON \
--D DEAL_II_WITH_UMFPACK:BOOL=ON \
--D DEAL_II_WITH_ZLIB:BOOL=ON \
--D DEAL_II_WITH_HDF5:BOOL=ON \
-"
-
-# Please add the following path(es) to DEAL_CONFOPTS ahead,
-# if you wish to use (self-compiled) versions of them together
-# with deal.II.
-# Make sure, that the coinciding option is setted to "ON".
-# If you want to use the packages from your system, you
-# may not set the variables (usually deal.II is smart enough
-# to recognise them automatically).
-# If you want to install the packages using CANDI,
-# simply set the option to ON and do NOT specify the path,
-# this will be done automatically elsewhere.
-#
-#-D ARPACK_DIR= \
-#-D METIS_DIR= \
-#-D MUMPS_DIR= \
-#-D P4EST_DIR= \
-#-D TRILINOS_DIR= \
-#-D HDF5_DIR= \
-
-#########################################################################
-# Prefix directory
-PREFIX_PATH=${HOME}/apps/candi
-COMPILER=native-openmpi
-
-# Where do you want the downloaded source files to go?
-DOWNLOAD_PATH=${PREFIX_PATH}/src
-
-# Where do you want to unpack source files to go?
-UNPACK_PATH=${PREFIX_PATH}/unpack
-
-# Where do you want the build files to go?
-BUILD_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}-build
-
-# Where do you want the compiled software installed?
-INSTALL_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}
-
-# How many processes would you like to build using?
-PROCS=1
-
-# Would you like to build stable versions of projects?
-# If STABLE_BUILD=false, then the development version of deal.II will be
-# installed.
-STABLE_BUILD=true
-
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..249457da1fe4b4b68e058ac36560997356c2f1ed
--- /dev/null
+++ b/candi.cfg
@@ -0,0 +1 @@
+./project-deal.II.cfg
\ No newline at end of file
diff --git a/local.cfg b/local.cfg
deleted file mode 120000 (symlink)
index 5677a4e..0000000
--- a/local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-local-deal.II.cfg
\ No newline at end of file
similarity index 100%
rename from local-FEniCS.cfg
rename to project-FEniCS.cfg
similarity index 100%
rename from local-deal.II.cfg
rename to project-deal.II.cfg
similarity index 100%
rename from local-gcc.cfg
rename to project-gcc.cfg
similarity index 100%
rename from local-mpi.cfg
rename to project-mpi.cfg
diff --git a/switch-project-to b/switch-project-to
new file mode 100755 (executable)
index 0000000..ea3034a
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+project="$1"
+rm -f ./candi.cfg
+ln -s ./project-${project}.cfg candi.cfg
+

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.