Commit 51609c19 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

files added

parent 63ff20d2
# Preliminaries
## Disclaimer and Licensing
evendim is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
evendim is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with evendim. If not, see <http://www.gnu.org/licenses/>.
The full software license for evendim version 1.0.0
can be found in
file LICENSE.
## Please cite this work
evendim is a free and open source genetic expression programming code.
The full software license for evendim version 0.
can be found in
file LICENSE.
You are welcomed to use it and publish data
obtained with evendim. If you do, please cite this
work. Explain How To Cite This Work. FIXME. TBW.
## References
## Hash of the latest commit
Hash of the latest commit is also posted at
FIXME
# Building and Running evendim
## Required Software
* GNU C++
* The LAPACK and BLAS libraries
* The GSL library
* PsimagLite (see below)
## Optional Software
* make or gmake (only needed to use the Makefile)
* perl (may be needed to run some auxiliary script)
## Quick Start
1. Use your distribution repository tool to install gcc with support for C++,
the LAPACK and BLAS libraries, the gsl library, make, perl, and git
if you don't have them.
2. Issue
cd someDirectory/
git clone https://github.com/g1257/PsimagLite.git
git clone https://github.com/g1257/evendim.git
3. Compile PsimagLite
4. Now issue
cd evendim/src
cp Config.make.sample Config.make
make
5. You can run it with TBW.
# PsimagLite support is needed by Gep
LDFLAGS = -L../../PsimagLite/lib -lpsimaglite
# Compiler to use. If using MPI then say mpicxx here (or mpic++)
# and also say -DUSE_MPI below
CXX = g++
# We're using ansi C++
CPPFLAGS += -pedantic -std=c++98
# Enable MPI (you must set the proper
# compiler wrapper under CXX above)
# CPPFLAGS += -DUSE_MPI
# Here add -lpthread if threading is needed and also
# set -DUSE_PTHREADS below
#LDFLAGS += -lpthread
# Enable pthreads
#CPPFLAGS += -DUSE_PTHREADS
# Enable warnings and treat warnings as errors
CPPFLAGS += -Wall -Werror -Wendif-labels
# This disables debugging
#CPPFLAGS += -DNDEBUG
# Optimization level here
#CPPFLAGS += -O3
# This enables partial debugging (make sure to comment out previous line)
CPPFLAGS += -g3
# This enables additional debugging
#CPPFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE
# This makes the code use long instead of short integers
#CPPFLAGS +=-DUSE_LONG
# This makes the code use float instead of double
#CPPFLAGS += -DUSE_FLOAT
# This enables signals
#CPPFLAGS +=-DUSE_SIGNALS
# This enables gsl support
#CPPFLAGS +=-DUSE_GSL
#LDFLAGS += -lgsl -lgslcblas
# This enables the custom allocator (use only for debugging)
#CPPFLAGS += -DUSE_CUSTOM_ALLOCATOR
# Specify the strip command to use or use true to disable
STRIP_COMMAND = true
include Config.make
CPPFLAGS += -I../../PsimagLite -I../../PsimagLite/src -IEngine
all: gep2
gep2.o: gep2.cpp Makefile Config.make
$(CXX) $(CPPFLAGS) -c gep2.cpp
gep2: gep2.o
$(CXX) -o gep2 gep2.o $(LDFLAGS) $(CPPFLAGS)
$(STRIP_COMMAND) gep2
../../PsimagLite/lib/libpsimaglite.a:
$(MAKE) -f Makefile -C ../../PsimagLite/lib/
Makefile.dep: gep2.cpp
$(CXX) $(CPPFLAGS) -MM gep2.cpp > Makefile.dep
clean: Makefile.dep
rm -f core* gep2 *.o *.dep
include Makefile.dep
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment