OpneSeesMP on windows 8

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

Moderator: selimgunay

Post Reply
Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

OpneSeesMP on windows 8

Post by Kamesh9 » Sun Feb 10, 2013 10:25 pm

Hi all

I am trying to use OpenSeesMP on my windows 8 machine. I have downloaded and successfully installed MPICH2 (32 bit version 1.4.1p1), smpd is running and the command mpiexec -validate gives an output SUCCESS. I have tried to run the example problem in $MPICHROOT\examples and it runs fine. So I am assuming that installation of MPICH2 is correct. However when i use the command
mpiexec -np 6 OpenSeesMP filename.tcl
on command prompt nothing happens.
I use OpenSeesMP on my windows 7 machine with the same procedure and .tcl codes and it runs perfectly fine. I am not able to figure out the problem as to why it does not run on windows 8. Please suggest solutions to fix the problem.

Thanks

Kameshwar

Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

Re: OpneSeesMP on windows 8

Post by Kamesh9 » Thu Feb 14, 2013 8:29 pm

Thanks for your comment. I have also tried to reinstall MPICH2, I have also tried to run the example from MPICH2's directory and it runs fine.Also, the validation is successful and smpd is running, so i guess MPICH2 is fine. I use OpenSeesMP on windows 7, but when I use the same procedure on windows 8, it does not work. Can you please post the link where specific instruction to run OpenSeesMP on windows 8 are provided.

Thanks

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

Re: OpneSeesMP on windows 8

Post by fmk » Thu Feb 21, 2013 11:33 am

i do not have access to a windows 8 machine to test it out for you.

Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

Re: OpneSeesMP on windows 8

Post by Kamesh9 » Thu Feb 21, 2013 11:49 am

Because the example provided in MPICH2 installation directory is running fine, can there be any problem with the version of tcl in windows 8 ?

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

Re: OpneSeesMP on windows 8

Post by fmk » Thu Feb 21, 2013 12:15 pm

some questions that pop to mind:
1) does the sequential version work?
2) are you using a 32bit version of mpich and tcl?

Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

Re: OpneSeesMP on windows 8

Post by Kamesh9 » Thu Feb 21, 2013 12:41 pm

The sequential version works fine..
My system is 64 bit; tcl and mpich are both 32 bit versions

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

Re: OpneSeesMP on windows 8

Post by fmk » Thu Feb 21, 2013 6:04 pm

if the sequential runs, iy should not be a tcl problem.

1) have you tried a real simple script
puts "Hello World"

2) have you tried running the smpd in debug mode

Kamesh9
Posts: 16
Joined: Fri May 18, 2012 9:26 am
Location: Rice University

Re: OpneSeesMP on windows 8

Post by Kamesh9 » Thu Feb 21, 2013 9:04 pm

i have tried executing my regular codes in sequential mode and they run fine.
I ran smpd in debug mode; the following is the output. It gives some error but I dont know how to fix that

F:\try 1>smpd -d
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]./smpd_parse_command_args
[-1:13360].\smpd_get_smpd_data
[-1:13360]..\smpd_get_smpd_data_from_environment
[-1:13360]../smpd_get_smpd_data_from_environment
[-1:13360]./smpd_get_smpd_data
[-1:13360].\smpd_entry_point
[00:13360]..\smpd_set_smpd_data
[00:13360]../smpd_set_smpd_data
[00:13360]..\SMPDU_Sock_create_set
[00:13360]...\SMPDU_Sock_get_sock_set_id
[00:13360].../SMPDU_Sock_get_sock_set_id
[00:13360]...created a set for the listener: 500
[00:13360]...\SMPDU_Sock_listen
[00:13360]....ERROR:Error binding socket to given port, Only one usage of each s
ocket address (protocol/network address/port) is normally permitted. (10048)
[00:13360]....ERROR:Error creating listen sock
[00:13360].../SMPDU_Sock_listen
[00:13360]...ERROR:SMPDU_Sock_listen failed,
sock error: Error = 10048

[00:13360]../smpd_entry_point
[00:13360]..calling SMPDU_Sock_finalize
[00:13360]..\SMPDU_Sock_finalize
[00:13360]../SMPDU_Sock_finalize
[00:13360]..\smpd_exit
[00:13360]...\smpd_kill_all_processes
[00:13360].../smpd_kill_all_processes
[00:13360]...\smpd_finalize_drive_maps
[00:13360].../smpd_finalize_drive_maps

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

Re: OpneSeesMP on windows 8

Post by fmk » Mon Feb 25, 2013 3:47 pm

this would appear to be an error relating to use of windows sockets. the windows sockets are what mpich uses to do the parallel processing, and not something that s being probably used in your script. (OpenSees does use tcp sockets for certain classes .. but if you have a typical script it should not be used). it could just be that you are using
a new version of the mpi library and may just require me to recompile (or you to install an older version). i will need to find the current version i have on the windows side of this mac i am using that s currently booted into OS X.

Post Reply