Problems with the fortran compiler

From: Teodoro Bernardino Santos (teodoro AT ifca.unican.es)
Date: Thu Feb 03 2005 - 11:36:44 MST


Hello Everybody!

I've just downloaded and installed NCARG 4.4.0 on my RedHat 9.0 PC. Apparently everything has been correctly installed, but when I run an example to test the installation:

$ncargex cpex08

I am answered an error message consisting in:

  Copying cpex08.f
 
  Copying cpexcc.f
 
Compiling and linking...
g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
g77: Command not found.
 
The compile and link failed.

I can understand the error, because I have uninstalled the g77 fortran compiler and installed the Intel Fortran compiler 8.0, my question is how to "say" NCARG that the new fortran compiler should be invoked with 'ifort' despite of 'g77'?

Apart from that, I have tried to execute directly the command above with the Intel Fortran compiler command 'ifort' and a new error appears:

ifort -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
ld: -lX11 not found

Is there any library missing I need to run NCARG apart from those included in the installation?

Thank you very much.

Yours sincerelly.

Teodoro Bernardino

------------------------------------------------
    Teodoro Bernardino
    IFCA-CSIC, Astrophysics Department
      Avda. Los Castros S/N
      39005 Santander - CANTABRIA (SPAIN)
    Phone: +34 942 20 14 04
------------------------------------------------




_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Thu Feb 03 2005 - 17:25:25 MST