File: TODO.buildsys

package info (click to toggle)
abinit 9.10.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 518,712 kB
  • sloc: xml: 877,568; f90: 577,240; python: 80,760; perl: 7,019; ansic: 4,585; sh: 1,925; javascript: 601; fortran: 557; cpp: 454; objc: 323; makefile: 77; csh: 42; pascal: 31
file content (32 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
TODO list for the build system
==============================

- [x] Linear algebra is not detected.
- [x] abi_fc_vendor and abi_fc_version are not set.
- [x] Hints are not applied correctly.
- [ ] Some libraries remain set even if the sd_enable_* flags are no.
- [ ] Custom linear algebra libraries are not transmitted.
- [ ] LibXML2 is never looked for.
- [ ] Redefine flags in trigger macros depending on programming languages.


Notes
-----

The tutoparal_tucrpa_2_MPI24 test is unstable and fails randomly. This affects
the cronos2_gnu_7.4_paral bot. Bernard Amadon is looking for a solution.

About TRIQS
-----------

export CXXFLAGS="-std=gnu++17 -fconcepts"
# gnu++17 is mendatory for triqs, fconcepts removes warnings

export with_triqs_incs="-I/home/gingras1/py_env2/py2_triqs2.0_cthyb1.5/include/python2.7 -I/home/gingras1/py_env2/py2_triqs2.0_cthyb1.5/lib/python2.7/site-packages/numpy/core/include -I/home/gingras1/projects/rrg-cotemich-ac/gingras1/Lib/Briaree_TRIQS-2.0.8/cthyb.build/c++ -I/home/gingras1/projects/rrg-cotemich-ac/gingras1/Lib/Briaree_TRIQS-2.0.8/install/include -I/home/gingras1/projects/rrg-cotemich-ac/gingras1/Lib/Briaree_TRIQS-2.0.8/cthyb.src/c++/triqs_cthyb"
# One needs the include folder of the python executable and of its numpy package, along with the cthyb.build/c++ folder, the general include folder of TRIQS+CTHYB and the cthyb.src/c++/triqs_cthyb folder from the source of CTHYB 

export with_triqs_libs="-L/home/gingras1/projects/rrg-cotemich-ac/gingras1/Lib/Briaree_TRIQS-2.0.8/install/lib -ltriqs -lcthyb_c"
# One needs to link the libtriqs and libcthyb_c files from install/lib of TRIQS 

# Now these three variables should be defined in the .ac file when configuring
gcc triqs_2.0.cpp $CXXFLAGS $with_triqs_incs $with_triqs_libs -o main