Test #2: Fortran + C + NetCDF + MPI

Test 1 was successful but while doing Test2 I got error as

bash: mpif90: command not found...

[shantij@master1 ~]$ cd TESTS

[shantij@master1 TESTS]$ mpif90 -c 02_fortran+c+netcdf+mpi_f.f

bash: mpif90: command not found...

[shantij@master1 TESTS]$ mpiifort -c 02_fortran+c+netcdf+mpi_f.f

bash: mpiifort: command not found...

[shantij@master1 TESTS]$

I have also attched the screenshot where I ahve successfully installed mpich library.

How to rectify command not found?

More Shanti Kumari's questions See All
Similar questions and discussions