Page 1 of 1

Problem in installing OpenSeesMP

Posted: Thu Jul 14, 2016 3:48 pm
by Akbar
Hello,

I tried to install MPI according to the instruction given in http://opensees.berkeley.edu/wiki/index ... Processing. I installed MPICH2 and it was done successfully. I have encountered the following issues:
- When I open command window and type "smpd -status" and it returns that this command does not exist.
- When I get in directory $MPICHROOT\examples and type 'mpiexec -n 4 cpi in command prompt, I encounterthe same error message.

Can you please advise me?
Thanks in advance.

Re: Problem in installing OpenSeesMP

Posted: Tue Jul 19, 2016 11:59 am
by fmk
you need to put the mpi bin directory on your path or include the full location to the binary in invoking it .. the former is best if you plan to use it a lot

Re: Problem in installing OpenSeesMP

Posted: Thu Aug 04, 2016 2:32 pm
by rbeber
Hi Frank,
I'm trying to compile the OpenSeesMP on the Janus cluster at CU Boulder,
seems that all the libraries are able to be built except for the DistribuitedSuperLU
tiping make again in this folder SRC/system_of_eqn/linearSOE/sparseGEN
I got the same error as in the case of general make
Any suggestion? Hope is a problem with the Makefile but not able to identify it

Thanks in advance!
Raniero

[size=30]
174/sources/OpenSees/SRC/optimization/tcl -I/projects/shda1174/sources/OpenSees/SRC/optimization/domain -I/projects/shda1174/sources/OpenSees/SRC/optimization/domain/component -I/projects/shda1174/sources/OpenSees/SRC/optimization/SNOPT -I/projects/shda1174/sources/OpenSees/SRC/reliability/FEsensitivity -I/projects/shda1174/sources/OpenSees/SRC/reliability/tcl -I/projects/shda1174/sources/OpenSees/SRC/unittest -I/projects/shda1174/sources/OpenSees/SRC/api -I/projects/shda1174/sources/OpenSees/SRC -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_5.1.1/SRC -I/projects/shda1174/sources/OpenSees/SRC/package -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/AMD -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/CSPARSE -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/Triangle -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/Tetgen -I/curc/tools/x86_64/rh6/software/intel/15.0.2/composer_xe_2015.2.164/mkl/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/include/mysql -I/projects/shda1174/sources/include -I/projects/shda1174/sources/OpenSees/OTHER/UMFPACK -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_5.1.1/SRC -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_DIST_2.5/SRC -I/projects/trma9607/software/MUMPS_5.0.1/include -c DistributedSuperLU.cpp
DistributedSuperLU.cpp(237): error: argument of type "LUstruct_t *" is incompatible with parameter of type "int_t={int}"
LUstructInit(n, &LUstruct);
^

DistributedSuperLU.cpp(237): error #165: too few arguments in function call
LUstructInit(n, &LUstruct);
^

compilation aborted for DistributedSuperLU.cpp (code 2)
make: *** [DistributedSuperLU.o] Error 2
[shda1174@janus-compile3 sparseGEN]$ pwd
/projects/shda1174/sources/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN
[/size]

Re: Problem in installing OpenSeesMP

Posted: Fri Aug 05, 2016 10:24 pm
by rbeber
rbeber wrote:
> Hi Frank,
> I'm trying to compile the OpenSeesMP on the Janus cluster at CU Boulder,
> seems that all the libraries are able to be built except for the
> DistribuitedSuperLU
> tiping make again in this folder SRC/system_of_eqn/linearSOE/sparseGEN
> I got the same error as in the case of general make
> Any suggestion? Hope is a problem with the Makefile but not able to
> identify it
>
> Thanks in advance!
> Raniero
>
> [size=30]
> 174/sources/OpenSees/SRC/optimization/tcl
> -I/projects/shda1174/sources/OpenSees/SRC/optimization/domain
> -I/projects/shda1174/sources/OpenSees/SRC/optimization/domain/component
> -I/projects/shda1174/sources/OpenSees/SRC/optimization/SNOPT
> -I/projects/shda1174/sources/OpenSees/SRC/reliability/FEsensitivity
> -I/projects/shda1174/sources/OpenSees/SRC/reliability/tcl
> -I/projects/shda1174/sources/OpenSees/SRC/unittest
> -I/projects/shda1174/sources/OpenSees/SRC/api
> -I/projects/shda1174/sources/OpenSees/SRC
> -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_5.1.1/SRC
> -I/projects/shda1174/sources/OpenSees/SRC/package
> -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/AMD
> -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/CSPARSE
> -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/Triangle
> -I/projects/shda1174/sources/OpenSees/SRC/../OTHER/Tetgen
> -I/curc/tools/x86_64/rh6/software/intel/15.0.2/composer_xe_2015.2.164/mkl/include
> -I/usr/local/BerkeleyDB.4.0/include -I/usr/include/mysql
> -I/projects/shda1174/sources/include
> -I/projects/shda1174/sources/OpenSees/OTHER/UMFPACK
> -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_5.1.1/SRC
> -I/projects/shda1174/sources/OpenSees/OTHER/SuperLU_DIST_2.5/SRC
> -I/projects/trma9607/software/MUMPS_5.0.1/include -c DistributedSuperLU.cpp
> DistributedSuperLU.cpp(237): error: argument of type "LUstruct_t
> *" is incompatible with parameter of type "int_t={int}"
> LUstructInit(n, &LUstruct);
> ^
>
> DistributedSuperLU.cpp(237): error #165: too few arguments in function call
> LUstructInit(n, &LUstruct);
> ^
>
> compilation aborted for DistributedSuperLU.cpp (code 2)
> make: *** [DistributedSuperLU.o] Error 2
> [shda1174@janus-compile3 sparseGEN]$ pwd
> /projects/shda1174/sources/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN
> [/size]


PROBLEM SOLVED

that issue with LUstructInit is solved going to check witch version of the library DistributedSuperLU is used, on the V_4.3 that function has just two input;

I had some other issues compiling V6346 of OS but solved typing some makes around

Best,
Raniero