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

cross-node parallel computing using phc #50

Open
zhangyusi-hub opened this issue Jul 9, 2021 · 4 comments
Open

cross-node parallel computing using phc #50

zhangyusi-hub opened this issue Jul 9, 2021 · 4 comments

Comments

@zhangyusi-hub
Copy link

zhangyusi-hub commented Jul 9, 2021

When tasking for tracking paths using multiple threads, I use the following method:
phc -b -t48 cyclic7 ./cyclic7.out
But how can I run phc to adopt the cross-node parallel computing method,such as using 2 compute nodes?

@janverschelde
Copy link
Owner

In order to use message passing, one has to compile for example
https://github.com/janverschelde/PHCpack/blob/master/src/MPI/mpi2padcon.c
but that does only path tracking, not the blackbox solving such as phc -b -t.
The entire blackbox solver is currently not supported to work with message passing.

@zhangyusi-hub
Copy link
Author

OK, I will try according to your advice.
But when using the blackbox solver such as phc -b -t, how to use the total-degree method, not the mixed-volume method?

@janverschelde
Copy link
Owner

The blackbox solver is a blackbox in the sense that it tries to make the best choices.
In case the mixed volume equals the total degree, then the blackbox solver will use the total degree start system,
but the blackbox solver does not has the option to force the use of the total degree start system.

@zhangyusi-hub
Copy link
Author

zhangyusi-hub commented Jul 14, 2021

Thanks, I know it.
I used the following method to compile the makefile in /PHCpack/src/MPI:
cd /PHCpack/src/MPI
make all

But there is a following error with gnatbind: invalid switch: -C
gcc -c call_hello.c
gnatmake -c hello.adb
gnatmake: objects up to date.
gnatbind -n -C hello
gnatbind: invalid switch: -C

And when I modify it with gnatbind -n -c hello, there is another error with gnatlink: Failed to open binder output:
gcc -c call_hello.c
gnatmake -c hello.adb
gnatmake: objects up to date.
gnatbind -n -c hello
gnatlink -c hello call_hello.o adatest.o -o adatest
--LINK=/BIGDATA1/app/MPI/mpich/3.2.1-gcc-4.8.5-dynamic/bin/mpicc
gnatlink: Failed to open binder output
Could you tell me how to solve the two problems?

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

2 participants