[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElasticManager does not export get_connect_cmd #149

Open
robot144 opened this issue Oct 26, 2020 · 0 comments
Open

ElasticManager does not export get_connect_cmd #149

robot144 opened this issue Oct 26, 2020 · 0 comments

Comments

@robot144
Copy link

The ElasticManager does nog export get_connect_cmd. I would like to start the other processes in some automated way, but the info is now only accessible through show(em). It is possible to extract the string from show with the following function, but this is of course just trying to mimic a function that's already there, but not accessible.

function get_connect_cmd(em::ElasticManager)
io=IOBuffer()
show(io,em) #writes to buffer instead of screen
temp1=read(seekstart(io),String)
temp2=split(temp1,"\n")
return temp2[end]
end

Suggestions for other routes are also welcome, This is one step of trying to start julia processes in parallel that will access a library that make use of MPI, and I wouldlike to use mpi run. This so the process can make use of julia parallel processes, and let the MPI based library work at the same time.

Thanks in advance, Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant