I'm a graduate student of China University of Geosciences , studying the tsunami caused by submarine landslide in the South China Sea and I'm interesting in studying this . Though reading many literature reviews , I would like to use NHWAVE and FUNWAVE-TVD to simulate the tsunami . I have installed the FUNWAVE-TVD-Version-3.3 program and I can run it in simple_cases folder successfully . But I have problems in NHWAVE , I can't successfully install NHWAVE . The following is my detailed operation .
Then I start to install NHWAVE , want to compute examples/solitary_wave_breaking .
$ cd ./src
$ ./configure && make install (Terminal shows it use mpif77 in Fig.1)
The hypre folder will be produced in src folder , it contains include folder and lib folder . I write down their address in my computer separately:
/home/wq/Desktop/hypre-2.11.1/src/hypre/include
/home/wq/Desktop/hypre-2.11.1/src/hypre/lib
$ cd ./src
I change some details of Makefile.supermic.mpif90 and I send this Makefile to attachments
(change line 3 to DEF_FLAGS = -P -traditional ,
change line 13 to FLAG_4 = -DSALINITY ,
change line 18 to # FLAG_9 = -DINTEL ,
change line 24 to # FLAG_15 = -DFROUDE_CAP ,
change line 52 to LIBS = -L/home/wq/Desktop/hypre-2.11.1/src/hypre/lib -lHYPRE ,
change line 53 to INCS = -I/home/wq/Desktop/hypre-2.11.1/src/hypre/include )
$ make clean
$ make -f Makefile.supermic.mpif90 (Terminal is error in Fig.2 and 3 ).
Then change line 13 to # FLAG_4 = -DSALINITY ,
$ make clean && make -f Makefile.supermic.mpif90
The "nhwave" is produced and Terminal has many warnings in Fig.4 ,5 and 6 . I want to compute examples/solitary_wave_breaking but can't figure it out , the program doesn't respond .
I notice that computer use mpif77 when conpiling Makefile of hypre-2.11.1 (Fig.1) , and then it use mpif90 when compiling Makefile of NHWAVE (Fig.2) . I read 《NHWAVE Documentation and User's Manual(Version 2.0)》 and it says :" After unpacking the hypre distribution , it must be congifured for the same compiler that will be used for NHWAVE . To do this , set the F77 environment variable to the fortran compiler that will be used to build NHWAVE ". I don't know if that's the problem . But if so ,I don't know how to solve it .
If you could tell me the detailed steps and commands of installing and running NHWAVE , I would be very grateful ! Thank you for your attention and patience !