You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/2022-CSC_and_LO/2_Using/2_02_creating_easyconfig_files.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,16 +44,24 @@ specific for a certain compiler and don't recognise the Cray compilers.
44
44
Reasons to consider implementing a software-specific easyblock rather than using a generic easyblock include:
45
45
46
46
- 'critical' values for easyconfig parameters required to make installation succeed;
47
-
- toolchain-specific aspects of the build and installation procedure (e.g., configure options);
48
-
- interactive commands that need to be run;
49
-
*For example: The easyblock to [install maple](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/m/maple.py)
50
-
responds to a number of interactive questions.*
51
-
- custom (configure) options for dependencies;
47
+
*For example, the [easyblock for bowtie2](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/b/bowtie2.py)
48
+
defines a number of variables used in the Makefile are specified on the make command line to ensure that the right
49
+
compilers are used.*
50
+
- toolchain-specific aspects of the build and installation procedure (e.g., configure options);
51
+
*For example, the [easyblock for CP2K](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/c/cp2k.py)
52
+
will add several compiler options when compiling with gcc and gfortran, including the infamous
53
+
`-fallow-argument-mismatch` which is required from gfortran 10 on for many older codes.*
54
+
- custom (configure) options for dependencies;
52
55
*For example, the [easyblock for VMD](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/v/vmd.py)
53
56
will add configure options depending on the dependency list of the package.*
54
-
- having to create or adjust specific (configuration) files;
57
+
- interactive commands that need to be run;
58
+
*For example: The [easyblock for maple](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/m/maple.py)
59
+
responds to a number of interactive questions.*
60
+
- having to create or adjust specific (configuration) files;
61
+
*For example, the [easyblock for Siesta](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/s/siesta.py)
62
+
edits one of the configuration files through regular expressions.*
55
63
- 'hackish' usage of a generic easyblock;
56
-
- complex or very non-standard installation procedure;
64
+
- complex or very non-standard installation procedure;
57
65
*For example, the [easyblock to install the gcc compilers from source](https://github.com/easybuilders/easybuild-easyblocks/blob/develop/easybuild/easyblocks/g/gcc.py),
58
66
bootstrapping with the system compiler and then re-installing with itself.*
59
67
@@ -499,13 +507,30 @@ Or, to try using a different compiler toolchain you can use `--try-toolchain`:
0 commit comments