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

TryMPISERIAL doesn't fail with mpi-serial 2.0 #3

Open
rljacob opened this issue Mar 31, 2015 · 4 comments
Open

TryMPISERIAL doesn't fail with mpi-serial 2.0 #3

rljacob opened this issue Mar 31, 2015 · 4 comments

Comments

@rljacob
Copy link

rljacob commented Mar 31, 2015

The TryMPISERIAL.f90 program is supposed to fail to compile to tell PIO that its using mpi-serial. But it does compile with mpi-serial 2.0 (using ifort 13.1.3) so PIO later tries to build without the _MPISERIAL flag set.

@jedwards4b
Copy link
Contributor

Can you suggest a new test?

The TryMPISERIAL.f90 program is supposed to fail to compile to tell PIO
that its using mpi-serial. But it does compile with mpi-serial 2.0 (using
ifort 13.1.3) so PIO later tries to build without the _MPISERIAL flag set.


Reply to this email directly or view it on GitHub
#3.

@rljacob
Copy link
Author

rljacob commented Mar 31, 2015

I asked @rloy but will try to come up with something.

@rljacob
Copy link
Author

rljacob commented Apr 1, 2015

This seems to work:

program mpiserial_test
 implicit none
 include 'mpif.h' 
 integer :: i
 select case(i)
 case(mpi_cart)
 end select
end program mpiserial_test

@rljacob
Copy link
Author

rljacob commented Apr 1, 2015

Would it be better to handle this with a configure option like "--with-mpiserial"? Then buildlib.pio could pass that in.

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