|
[Sponsors] |
September 22, 2007, 04:02 |
Makefile for f90 under unix
|
#1 |
Guest
Posts: n/a
|
I am running fortran codes on Linux/UNIX system. On Linux, the intel fortran, ifort is installed. My makefile worked well in that system. To run them on UNIX having f90, I modified the makefile as
---------------------------------------------------------- # 1. Fortran compiler FC = f90 OPTS = -O3 # 2. DEFINE DIRECTIONS SRCDIR = . OBJDIR = . PROG = main # 5. DEFINE OBJECT FILES OBJS = \ analytic.o \ ................ # 6. DEFINE OBJECT FILES DEPENDENCIES SOURCE = ${SRCDIR}/analytic.f90 ${OBJDIR}/analytic.o:$(SOURCE) ${OBJDIR} ${FC} ${OPTS} -c -module ${OBJDIR} $< -o $@ ............... ------------------------------------------------------- It does not work with this message --> don't know how to make /, (bu42). I am pretty new to run fortran codes on UNIX. Please let me know how to run these codes on UNIX. I did it on Linux having ifort. But i could not run them on UNIX having f90. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux vs commercial Unix for workstations | wenp | Hardware | 6 | May 18, 2011 08:46 |
Background execution on UNIX systems | law | FLUENT | 1 | January 3, 2006 10:53 |
memory problems with a code on unix | vince | Main CFD Forum | 2 | November 5, 2002 03:48 |
compaq tru-64 unix? | lgpatil | FLUENT | 0 | October 21, 2002 14:03 |
Fluent on UNIX or WinNT | mike | FLUENT | 1 | May 30, 2001 12:00 |