Complex error

Matt Thompson thompsma@jilau1.colorado.edu
Wed Oct 26 21:52:00 GMT 2005


This is my first time using gfortran and I ran into something that I'm
not sure what might be the problem.  I'm trying to build a mixed F90/C
program that I can build with ifort/gcc.  Since I'd rather not have
those ifort environment bits all the time, I thought I'd try to build
the program with gfortran/gcc.  May not work, but maybe I can learn
something.  I encountered an error that I tried to search for, but no
luck.

In the first .f90 file the make finds, it exits out with:

gfortran -c -O2 electronic_utils.f90
 In file electronic_utils.f90:768

    CWORK = CU .mult. (.dagger. CU)
                    1
Error: Operands of user operator 'mult' at (1) are COMPLEX(8)/COMPLEX(8)

There are a few other COMPLEX(8)/COMPLEX(8) errors as well. 

Any idea what is happening?

Matt 
-- 
The mayfly lives only one day, and sometimes it rains. - Geo. Carlin
   Matt Thompson -- http://ucsub.colorado.edu/~thompsma/
   440 UCB, Boulder, CO  80309-0440
   JILA A510, 303-492-4662



More information about the Fortran mailing list