forked from CESM-Development/cime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2987785
commit e9f4f75
Showing
8 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
! This is a test of the PIO Fortran library. | ||
|
||
! This tests var functions. | ||
|
||
! Ed Hartnett, 8/28/20 | ||
#include "config.h" | ||
|
||
program ftst_vars | ||
use mpi | ||
use pio | ||
integer :: my_rank, ntasks | ||
integer :: ierr | ||
|
||
! Set up MPI | ||
call MPI_Init(ierr) | ||
call MPI_Comm_rank(MPI_COMM_WORLD, my_rank, ierr) | ||
call MPI_Comm_size(MPI_COMM_WORLD, ntasks , ierr) | ||
|
||
if (my_rank .eq. 0) print *,'Testing variables...' | ||
|
||
if (my_rank .eq. 0) print *,'SUCCESS!' | ||
call MPI_Finalize(ierr) | ||
end program ftst_vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters