Compiling on AIX

Hi,

I have a problem because the code is compiling fine under GNU Linux, but not under AIX. Though I can read in the manual that “OpenLB code is based on makefiles and has so far has been tested only on platforms of the Linux/unix family”

I obtain these errors :

------- ERROR CODE -------

jbd31@l3n01-c /hpc/home/jbd31/olb :make
“Makefile.inc”, line 54: make: 1254-055 Dependency line needs colon or double colon operator.
“Makefile.inc”, line 56: make: 1254-055 Dependency line needs colon or double colon operator.
“Makefile.inc”, line 58: make: 1254-055 Dependency line needs colon or double colon operator.
“Makefile.inc”, line 60: make: 1254-055 Dependency line needs colon or double colon operator.
“Makefile.inc”, line 62: make: 1254-055 Dependency line needs colon or double colon operator.
“Makefile.inc”, line 65: make: 1254-055 Dependency line needs colon or double colon operator.
make: 1254-058 Fatal errors encountered – cannot continue.

------- ERROR CODE -------

The code in the makefile.inc is from line 54 to 65 :

------- PART OF MAKEFILE.INC -------

ifeq ($(BUILDTYPE), precompiled)
CXXFLAGS := -DOLB_PRECOMPILED $(CXXFLAGS)
endif

ifeq ($(PARALLEL_MODE), MPI)
CXXFLAGS := -DPARALLEL_MODE_MPI $(MPIFLAGS) $(CXXFLAGS)
endif

ifeq ($(PARALLEL_MODE), OMP)
CXXFLAGS := -DPARALLEL_MODE_OMP $(OMPFLAGS) $(CXXFLAGS)
LDFLAGS := $(OMPFLAGS) $(LDFLAGS)
endif

------- PART OF MAKEFILE.INC -------

Perhaps I’ve forgot a flag on something else…
If somebody could help me …

Thanks

JB

Ok, I am a newbie … The “make” command in AIX is “gmake”

  • you can delete this topic -

JB