For local software installations on Linux machines, it is good practice to install the packages under the /usr/local tree. This command will install the compiled code in the directory DESTDIR, here /usr/local/fluka. This option is particularly recommended when compiling FLUKA from the source. Use up to the maximum cores of your machine. This will use 8 CPU cores in parallel for compilation. Optionally one can specify additional parameters to make. This creates the FLUKA libraries in the directory /pathtoflu ka/ lib and the executables ( fluka and flukadpm) and the auxiliary programs in the directory /pathtoflu ka/ bin. In case the package including the FLUKA source is used, the compilation is done by typing: cd /pathtofluka/ This creates the default FLUKA executables ( fluka and flukadpm) and the auxiliary programs in the directory /pathtofluk a/ bin. The compiler version on your system can be tested by typing: gfortran -versionįLUKA can then be installed by typing: cd /pathtofluka/src/ tgz package is installed on the system (see here if you are unsure which compiler is compatible with the downloaded package). Verify that a gfortran version compatible with the downloaded FLUKA. Installing pre-compiled FLUKA libraries ( ) From here onwards this new directory is referred to as /pathtofluka/. This will create a new directory containing the FLUKA distribution. tgz package needs to be uncompressed in a terminal using the following command: tar -xvf for installing gfortran10 type:Īs a first step, the downloaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |