Author Topic: FE2 installation in windows  (Read 13664 times)

jezdagst

  • Jr. Member
  • **
  • Posts: 10
FE2 installation in windows
« 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.

cri

  • Jr. Member
  • **
  • Posts: 27
Re: FE2 installation in windows
« Reply #1 on: March 01, 2019, 02:55:21 AM »
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
« Last Edit: March 08, 2019, 09:29:22 AM by cri »

cri

  • Jr. Member
  • **
  • Posts: 27
Re: FE2 installation in windows
« Reply #2 on: March 09, 2019, 04:32:02 AM »
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

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: FE2 installation in windows
« Reply #3 on: March 09, 2019, 10:03:41 AM »
Cristina and Paolo, thanks for providing the instructions!
« Last Edit: March 10, 2019, 01:25:34 PM by Prof. S. Govindjee »

jezdagst

  • Jr. Member
  • **
  • Posts: 10
Re: FE2 installation in windows
« Reply #4 on: March 12, 2019, 12:07:18 AM »
Many thanks for the instructions and the link you shared.

jezdagst

  • Jr. Member
  • **
  • Posts: 10
Re: FE2 installation in windows
« Reply #5 on: March 12, 2019, 02:10:49 AM »
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

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: FE2 installation in windows
« Reply #6 on: March 12, 2019, 09:55:51 AM »
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

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: FE2 installation in windows
« Reply #7 on: March 12, 2019, 11:11:30 AM »
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.

jezdagst

  • Jr. Member
  • **
  • Posts: 10
Re: FE2 installation in windows
« Reply #8 on: March 13, 2019, 02:37:54 AM »
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