CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Module can not be loaded (https://www.cfd-online.com/Forums/main/15161-module-can-not-loaded.html)

Kate May 7, 2008 10:33

Module can not be loaded
 
One makefile as follows, and completing a soft, on running, it says the module can not be loaded. Why, can anybody give me some advice. My system is SUSE LINUX 8.2 and the compiler is Absoft Fortran and mpich1.2.7

CC = mpicc

CXX = mpiCC

CPP = cpp -traditional -P

CFLAGS += -ansi -Wall

CXXFLAGS += -fPIC -Wall

F90C = mpif90

ifdef DEBUG

CXXFLAGS += -O0

F90FLAGS += -B111

else

# Enable Pentium Pro optimizations for Absoft f90 compiler:

F90FLAGS += -B100

endif

MPIHOME = /opt/mpich

MPIINC = $(MPIHOME)/include

MPILIBS = -lpthread

F90FLAGS += -I$(MPIINC) $(MODDIR:%=-p%)

F90FLAGS_FIXED += -W132 -I$(MPIINC) $(MODDIR:%=-p%)

LD = $(CXX)

LDFLAGS += $(CXXFLAGS) -Wl,-z,lazyload

ifneq "$(LIBDIR)" ""

LDFLAGS += -Wl,-rpath,$(LIBDIR) -Wl,-rpath

endif

SOFLAGS = -shared $(LDFLAGS)

F90DIR := $(dir $(shell which f90))

F90LIBS = -L$(F90DIR)../lib -lU77 -lfio -lf90math -lf77math

SYSLIBS += $(MPILIBS)

ifeq "$(NO_FORTRAN)" ""

SYSLIBS += $(F90LIBS)

endif

LIBDL = -ldl



All times are GMT -4. The time now is 21:06.