FEAP User Forum
FEAP => FE^2 => Topic started by: jezdagst on February 15, 2019, 01:14:42 AM
-
Hi everyone,
I work with windows 10 and visual studio 2015 as a compiler, I'm trying to build the executable for FE2 by adding FE2 subroutines to the main Feap85 and the library, in addition to the reference to include and library directories of MPI, I still get an error that MPI commands from FE2 subroutines aren't understood. Is there any error in this combination, as it works if I compile FE2 subroutines as a library and add them to the main FEAP85 but then by testing the giving input files with this executable I get nonsense results.
Can anyone advise and please mention a specific version of MPI that was tested and is compatible with Fortran compilation in windows.
Thanks.
-
Dear Jezdagst,
we are working with fe2 in windows. What is the error that you obtain during the compilation?
However we are using the MS-MPI libraries downloaded from the following link:
https://www.microsoft.com/en-us/download/details.aspx?id=57467
together with the HPC PACK (https://www.microsoft.com/en-us/download/details.aspx?id=36054).
In any case we wrote a sort of list of step to follow in order to install fe2 in windows for our reference. We can clean it up and share it with you.
Best regards.
Cri and Paolo di Re
-
Dear Jezdagst,
We attach the instruction document to install FE2 in windows. We hope this is useful for you and others.
Best regards
Cristina and Paolo
-
Cristina and Paolo, thanks for providing the instructions!
-
Many thanks for the instructions and the link you shared.
-
I could finally compile the executable without errors, many thanks for the installation details :), but you mentioned earlier getting an error with the number of tasks np >1 when running the test files, how could you solve it? I see in the mpi_start that this number should be increased, so apparently, it is solved by parallel computing, isn't it? Is there anything different to do when I run the executable to consider the parallel computation, I mean exactly when I type the name of the input file?
Many thanks in advance
-
are you running an FE2 or a parallel problem in which you used a GRAPh command?
For FE2 you run with an mpirun -np 2 <path to feap executable>/feap
then enter the name of the macro-scale input file.
For a parallel run you use the name of the Ixxxxx.0001 file
-
I suggest you first write a hello_world program and figure out how to run it in parallel on your machine. Once you can do that, you should be able to use the same method to run FE2.
-
Dears Prof. Taylor, FEAP_Admin, Cristina and Paolo,
Many thanks for your recommendations, I did according to your suggestions and it is working now. :)
Best regards
Ghina