How to compile OpenSeesMP in Windows?

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

Moderator: selimgunay

Post Reply
andreascj
Posts: 113
Joined: Mon Aug 17, 2009 5:57 am
Location: T

How to compile OpenSeesMP in Windows?

Post by andreascj »

Hi Frank,

How to compile the source code to get OpenSeesMP in Windows?

Thanks.
johnnyontheweb
Posts: 46
Joined: Sat Oct 08, 2011 6:28 am

Re: How to compile OpenSeesMP in Windows?

Post by johnnyontheweb »

I have the same question too! I found out that other projects must be compiled first, but I cannot do it because they fail compiling.
Last edited by johnnyontheweb on Mon Feb 27, 2012 3:11 pm, edited 1 time in total.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How to compile OpenSeesMP in Windows?

Post by fmk »

it is not a trivial matter .. a number of external parallel numerical libraries must be built, e.g. Scalapack, Mumps, BLACS, Mumps and linked with an mpi library, i used mpich2.
andreascj
Posts: 113
Joined: Mon Aug 17, 2009 5:57 am
Location: T

Re: How to compile OpenSeesMP in Windows?

Post by andreascj »

Thanks Frank,

Could you please provide more details or steps to be followed or any reference?
duke535686
Posts: 4
Joined: Tue Aug 02, 2011 2:22 am
Location: IEM

Re: How to compile OpenSeesMP in Windows?

Post by duke535686 »

andreascj wrote:
> Hi Frank,
>
> How to compile the source code to get OpenSeesMP in Windows?
>
> Thanks.
Does you compile the source code to get OpenSeesMP success in Windows? I have the same question too!
johnnyontheweb
Posts: 46
Joined: Sat Oct 08, 2011 6:28 am

Re: How to compile OpenSeesMP in Windows?

Post by johnnyontheweb »

dear fmk,
I get Scalapack, Mumps, BLACS, Mumps and mpich2 libraries (static, .lib) for windows, can you give some information on what to do next (e.g. how to set the parallel compilation in visual studio)?

thanks
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How to compile OpenSeesMP in Windows?

Post by fmk »

what can i say .. the libraries need to be compiled and linked with .. i created another project with the soultion and added a whole bunch more files that are not needed for sequential but are for parallel (MovableObjct, MPI_Channel, MPI_MachineBroker, .... there is about 40 files) .. it is not easy .. if i remember correctly i had to use an older fortran compiler for the mumps lib as latest would not work .. there are some preprocessor directives that also need to get set .. i d not release it because if i update the project files it screws everything up for people compiling on windows.
johnnyontheweb
Posts: 46
Joined: Sat Oct 08, 2011 6:28 am

Re: How to compile OpenSeesMP in Windows?

Post by johnnyontheweb »

dear fmk,
thanks for your reply. However, it seems harder that described. As I said, I got mumps (and blacs) and scalapack for windows, but the referenced LIB files in OpenSeesSP and MP projects are not so clear. I found:
blacsCinit_MPI-Win32
blacs_MPI-Win32
scalapackd
mumpsFortran
mumps

Can you provide a short description for each of them? I can compile the version required of MUMPS (4.7.3) and I think I'm getting the same libraries but I need to know what is inside each of them in your original compilation.

Moreover, SuperLU_distrib must be compiled from the files in OTHER\SuperLU_DIST_2.5 or OTHER\SuperLU_DIST_2.0 ?

Thanks a lot,
Giovanni
johnnyontheweb
Posts: 46
Joined: Sat Oct 08, 2011 6:28 am

Re: How to compile OpenSeesMP in Windows?

Post by johnnyontheweb »

The point was the name of the libs. It is necessary to publish some instructions on the wiki.
leoyelverton
Posts: 1
Joined: Thu Apr 09, 2015 9:40 pm

Re: How to compile OpenSeesMP in Windows?

Post by leoyelverton »

in the event that you must form it on your machine you require some adaptation of mpi introduced. at that point take a stab at building MP utilizing one of the parallel Makefiles BUT say no to mumps and petsc. on the off chance that you traverse that then you can attempt and introduce mumps. you require mumps and the parallel scalapack and parallel blas and perhaps one other package.
techranger
Posts: 1
Joined: Fri Apr 10, 2015 3:36 am
Contact:

Re: How to compile OpenSeesMP in Windows?

Post by techranger »

thanks for this post now i can compile openseesMp
Post Reply