FEAP User Forum

FEAP => FE^2 => Topic started by: cri on March 21, 2018, 08:36:30 AM

Title: FE2 installation
Post by: cri on March 21, 2018, 08:36:30 AM
Dear all,
I'm trying to install the fe2 part of FEAP. I have a basic question. I have read that the basic steps should be (as FEAP_Admin suggested): (a) install an MPI library, (b) compile the files in the fe2 folder into a library, (c) build a new executable using main/feap85.f, the main FEAP archive/library, the fe2 library, and the mpi libraries. Should I have also a PETSc library as for the parallel part of FEAP?

Thank you in advance
Title: Re: FE2 installation
Post by: Prof. S. Govindjee on March 21, 2018, 09:35:46 AM
petsc is optional.  The only part of a petsc build that you would use with fe2feap would be the mpi compilers (assuming you built them as part of your petsc build).  you only need an mpi implementation.
Title: Re: FE2 installation
Post by: cri on March 21, 2018, 11:21:35 AM
Thank you for your quick response. I have some problems in running the fe2 version, probably because I'm working on windows (I have read that the parallel part of FEAP has only been tested under unix-like environments). However I saw that in the 'pstart' routine the 'ntasks' number is set equal to 1 for the serial version, but this number has to greater than 1 for the multi-scale analysis. Where does the program set a 'ntask' number different than 1?
Title: Re: FE2 installation
Post by: Prof. S. Govindjee on March 21, 2018, 04:20:41 PM
If you look in fe2/mpi_start.f you will see a call to mpi_comm_size( ).
Title: Re: FE2 installation
Post by: cri on March 27, 2018, 06:58:28 AM
Thank you, I saw that and I'm understanding how the program works.
I'm finalizing the fe2 installation, but I obtain the following error:

'error LNK2019: unresolved external symbol _CINPUT referenced in function _TINPUT   tinput.obj'

Do you have any suggestions?

Thank you in advance
Title: Re: FE2 installation
Post by: Prof. R.L. Taylor on March 27, 2018, 09:20:55 AM
It should be loaded when you compile the x11u.c file in ./unix directory. 

If you are doing a windows load then you should not have any reference to this.  What is your operating system and version of compilers.
Title: Re: FE2 installation
Post by: cri on March 27, 2018, 09:45:07 AM
I'm doing a windows load and I'm using fortran in Visual Studio 2012.
Title: Re: FE2 installation
Post by: Prof. R.L. Taylor on March 27, 2018, 09:53:24 AM
In the fe2 directory the file 'tinput.f' has a call to 'cinput'.  It is not necessary and you can change to use the 'read' line that is currently commented. 
Title: Re: FE2 installation
Post by: cri on March 27, 2018, 10:18:28 AM
thank you so much. Now there are no errors!!!