AMBER Archive (2002)

Subject: Re: problem compiling roar (mop7mm) on alpha

From: Chuck Schneider (schneider_at_overdo.mro.cpqcorp.net)
Date: Tue Jul 23 2002 - 12:09:37 CDT


Hagop Demirdjian asked about the subject. The operating system was
unspecified, but I'm guessing Linux. I suspect the problem is that
the cpp is doing something with the double slashes ("//") in iter.F,
because it thinks they indicate a C++ style comment. You could try
adding -C to the cpp options.

Another possibility, since it looks like Compaq Fortran is being used,
is the "Fortran-friendly" preprocessor that should be in the Fortran
installation. Track down where the fort executable really resides
("which" and "ls -l" should help), and you should find fpp. It is
probably at /usr/lib/compaq/cfal/fpp. Use that instead of /lib/cpp.
The -traditional option will probably need to be removed. I'm not
sure whether fpp will work for C code.

-- 
Chuck Schneider    chuck.schneider_at_hp.com
Hewlett-Packard Company
High Performance Computing Expertise Center
Marlboro, Massachusetts  508-467-7343