🚨 THE TAMAAS REPOSITORY HAS MIGRATED TO GITLAB! THIS REPOSITORY IS NOW IN MIRROR MODE 🚨
Tamaas is high-performance library for the contact of periodic rough surfaces.
🚨 THE TAMAAS REPOSITORY HAS MIGRATED TO GITLAB! THIS REPOSITORY IS NOW IN MIRROR MODE 🚨
Tamaas is high-performance library for the contact of periodic rough surfaces.
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
b7fa37a3b7a3 | anciaux | code in place but not working | Dec 18 2017 | ||||
56c73d50b3ec | anciaux | test ok but not for dimension 1 | Dec 15 2017 | ||||
1c6e308391c0 | anciaux | fully working distribution and loop/reduce | Dec 15 2017 | ||||
3a32a987f380 | anciaux | renaming a file | Dec 15 2017 | ||||
d0e969ce80ae | anciaux | generalize test (not working at the moment) | Dec 15 2017 | ||||
9614f93afd40 | anciaux | reductions are working in mpi | Dec 14 2017 | ||||
5d4d5c48c3e0 | anciaux | adding the test for mpi loops and the gitignore | Dec 14 2017 | ||||
63f2a04e3716 | anciaux | first commit for the mpi version | Dec 14 2017 | ||||
33f3286cfb96 | frerot | fixing tests not passing with python 3.6 | Dec 13 2017 | ||||
965538b78f0d | frerot | making everything work on my new system | Dec 13 2017 | ||||
b5577c4d3177 | frerot | fixed leak on model in test_rough_surface | Dec 13 2017 | ||||
05cb094fac6a | frerot | suppressed some compile errors with nvcc | Nov 29 2017 | ||||
73dd359ecbfa | frerot | simplification of influence functions code | Nov 23 2017 | ||||
093aa6e808c1 | frerot | silencing clang warning | Nov 23 2017 | ||||
b95e216370ff | frerot | added the c++ example in the tests | Nov 17 2017 |
FFTW3_OMP, swig3, python(2|3), numpy, boost (preprocessor), g++/clang++ with C++11 and OpenMP support
Cuda 8.0 or higher. Compute capacity 3.5.
Doxygen, Mercurial
For the first build, you should compile Criterion, a library used for tests:
git submodule update --init --recursive cd third-party/Criterion mkdir build cd build cmake .. cmake --build . cd ../../..
The build system uses SCons. In order to construct the library you should hit:
scons
And to speedup the process you can do:
scons -j 6
In order to clean the build
scons -c
In order to compile in debug
scons build_type=debug
Indeed the default was
scons build_type=release
In order to make the compilation more verbose
scons verbose=true
For a list of all compilation options:
scons -h
You can customize a few compilation variables:
For example:
If the CXX variable is defined in your environment, scons will take it as a default compiler.
To edit build configuration, simply edit the build-setup.conf at the repository root.
scons build_doc=true
Tamaas is mainly used through the python interface. An example can be found in examples/new_contact.py
TODO: update the example
Tamaas features shared-memory paralellism with OpenMP. The number of threads can be controlled via the OMP_NUM_THREADS environment variable or the omp_set_num_thread() function in the OpenMP API.
To compile Tamaas with Cuda support use the following
scons backend=cuda