Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Test #2: Fortran + C + NetCDF + MPI

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

shantikumari

New member
Test #2: Fortran + C + NetCDF + MPI

The NetCDF+MPI test requires include files from both of these packages be in this directory, but the MPI scripts automatically make the mpif.h file available without assistance, so no need to copy that one. Copy the NetCDF include file here:

cp ${NETCDF}/include/netcdf.inc . (correctly run)

Note that the MPI executables mpif90 and mpicc are used below when compiling. Issue the following commands:

mpif90 -c 02_fortran+c+netcdf+mpi_f.f (while running this command line I got mpif90: command not found)

While running the last line I got error like no mpif90 file/or command not found
How to resolve this?

I have attached the screenshot.
 

Attachments

  • Screenshot (32).png
    Screenshot (32).png
    190.4 KB · Views: 1,028
Top