|
- Timestamp:
-
May 19, 2009, 6:09:50 PM (15 years ago)
- Author:
-
jweil
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
2 | 2 | |
3 | 3 | Compiling GiBUU usually is as easy as typing '''make''' in the GiBUU base directory. However, a couple of options are available for special situations. |
| 4 | |
| 5 | Before compiling, make sure that all [wiki:tools prerequisites] are fulfilled. |
4 | 6 | |
5 | 7 | If you compile GiBUU for the first time, you should start with '''make renew'''. This is also helpful sometimes when you want to redo the whole compilation instead of doing an incremental make or rebuild the dependencies. |
… |
… |
|
9 | 11 | == Choosing a Compiler == |
10 | 12 | |
11 | | By default the Makefile uses the first supported compiler which it finds on your system (ifort, gfortran, g95, sunf95, lahey - in this order). But you can also tell the Makefile which compiler to use, by doing e.g.: |
| 13 | By default the Makefile uses the first supported compiler which it finds on your system (ifort, gfortran, g95, sunf95 or lfc - in this order). But you can also tell the Makefile which compiler to use, by doing e.g.: |
12 | 14 | |
13 | 15 | {{{ |
14 | | make FORT=gfortran-4.5 |
| 16 | make FORT=gfortran |
15 | 17 | }}} |
16 | 18 | |
|