FEAP User Forum
FEAP => Parallel FEAP => Topic started by: Yaakov on November 17, 2017, 06:22:55 PM
-
Dear PETSc & FEAP Users,
Last week I found that It was very slowly to install PETSc in my personal Notebook (8x Intel(R) Core(TM) i7-4710HQ CPU ...)
Today I get the best solution to solve this problem and I can a lot faster install PETSc such a programm which needs make install command.
we just need to use the following two steps:
1. check number of cores in your computer : cat /proc/cpuinfo
2. If It has 8 cores, we may use: make -j8
This method really reduces a lot of the time for building system!
Cheers,
Yaakov
-
1. check number of cores in your computer : cat /proc/cpuinfo
2. If It has 8 cores, we may use: make -j8
A small additional hint regarding compilation with make. To use all available cores, you can call
make -j
without specifying the number of cores. You also can use the multi-processing feature of make while compiling FEAP.
-
1. check number of cores in your computer : cat /proc/cpuinfo
2. If It has 8 cores, we may use: make -j8
A small additional hint regarding compilation with make. To use all available cores, you can call
make -j
without specifying the number of cores. You also can use the multi-processing feature of make while compiling FEAP.
If we use full number of cores for building system (PETSc), It may produce some issues during the installation-process (P.S. Just Keep Real)........
-
for me it is working fine with make -j and make install.
or in short:
make -j && make install
-
Dear FEAP-Users,
Kindly I would like to add an important information.
for Multiple build processes in LINUX(UBUNTU/KUBUNTU/GNOME...): [-j <N>], [--PROCS=<N>]
If you want to use this option, you need to have enough system memory (e.g. at least 8GB for 2 or more processes).
Kind regards,
Yaakov
-
Thank you Yaakov and JStorm, this has been an enlightening post. I confess that I am just confined to a single process, but was looking for an opportunity to easily switch to parallel processing.
Edit: Can we put this Howto, for example, in the FEAP Wiki as registered users of the forum??