Welcome, Guest
Username: Password: Remember me

TOPIC: Metis-5.0.1 compilation problem

Metis-5.0.1 compilation problem 4 years 9 months ago #35316

  • yixiang
  • yixiang's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Hello all,
I have completed the installation of v8p0r0 version of telemac-mascaret. Now, I want to dynamic compile TelApy. I need to finish compiling metis-5.0.1 first.
In the file “~/TELEMAC/v8p0r0/optionals/metis-5.1.0/include/metis.h”, I changed “#define IDXTYPEWIDTH 32“ into “#define IDXTYPEWIDTH 64” and changed “#define REALTYPEWIDTH 32“ into “#define REALTYPEWIDTH 64”.
I added “prefix = ~/telemac/v7p1/optionals/metis-5.1.0/build/” and “cc = gcc” to the Makefile of metis-5.0.1.

But, when I compiled metis-5.0.1, there was an error:

un@ubuntu:~/TELEMAC/v8p0r0/optionals/metis-5.1.0$ make config
Make: *** there is no rule to make the target "config". Stop


How to solve this problem. I hope to get your help.

Best regards,
Yixiang Sun
The administrator has disabled public write access.

Metis-5.0.1 compilation problem 4 years 9 months ago #35320

  • jrjrjrjr
  • jrjrjrjr's Avatar
Hi Yixiang Sun

for metis 5.1.0 I have to run cmake to create the makefile .
I usually do it like (assuming to build in the current directory):
#!/bin/bash
cmake -DCMAKE_INSTALL_PREFIX=${PWD}
make
make install
Maybe the same procedure for 5.0.1
Hope that helps (I did not had the time to check on v8p0r0)

Best
Jan
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.