No rule to make target `swmod1.for', needed by `swmod1.o'. - Forum - Delft3D
Forum
- Home
- 2. Questions and troubleshooting
- 2.1 Questions about the software
- 2.1.1 Compiling the code
- No rule to make target `swmod1.for', needed by `swmod1.o'.
No rule to make target `swmod1.for', needed by `swmod1.o'.
Diego Casas, modified 3 Years ago.
No rule to make target `swmod1.for', needed by `swmod1.o'.
Youngling Posts: 4 Join Date: 11/4/21 Recent Posts
Hi,
I'm new to Delft3D and I'm trying to compile delft3dfm tag 68819 on CentOS 7 with Intel compilers. Everything was going well so far.
I was following instructions in src/README. Autogen and Configure seemed to work flawlessly, but the command
fails when trying to compile SWAN:
I wonder if anyone has already had this problem and knows how to solve it?
Thank you
I'm new to Delft3D and I'm trying to compile delft3dfm tag 68819 on CentOS 7 with Intel compilers. Everything was going well so far.
I was following instructions in src/README. Autogen and Configure seemed to work flawlessly, but the command
1 | FC=mpiifort make ds-install |
1 | Making install in swan_mpi |
2 | make[3]: Entering directory `/src/delft3dfm-68819/src/third_party_open/swan/swan_mpi' |
3 | make[3]: *** No rule to make target `swmod1.for', needed by `swmod1.o'. Stop. |
4 | make[3]: Leaving directory `/src/delft3dfm-68819/src/third_party_open/swan/swan_mpi' |
5 | make[2]: *** [install-recursive] Error 1 |
6 | make[2]: Leaving directory `/src/delft3dfm-68819/src/third_party_open/swan' |
7 | make[1]: *** [install-recursive] Error 1 |
8 | make[1]: Leaving directory `/src/delft3dfm-68819/src/third_party_open' |
9 | make: *** [install-recursive] Error 1 |
I wonder if anyone has already had this problem and knows how to solve it?
Thank you
Carlos Teixeira, modified 3 Years ago.
RE: No rule to make target `swmod1.for', needed by `swmod1.o'.
Youngling Post: 1 Join Date: 8/14/12 Recent Posts
Hi Diego;
Did you manage to work around this problem?
I have exactly the same problem using mpiifort
Cheers
Carlos
Did you manage to work around this problem?
I have exactly the same problem using mpiifort
Cheers
Carlos
Thomas Connolly, modified 2 Years ago.
RE: No rule to make target `swmod1.for', needed by `swmod1.o'.
Youngling Post: 1 Join Date: 5/4/22 Recent Posts
I was having the same problem. It looks like the makefile in src/third_party_open/swan/swan_mpi was not able to find the SWAN source code, which is located in src/third_party_open/swan/src
My hack to get around the issue was to copy the the source code from src/third_party_open/swan/src into src/third_party_open/swan/swan_mpi (and src/third_party_open/swan/swan_omp). I'm sure there is a better solution.
My hack to get around the issue was to copy the the source code from src/third_party_open/swan/src into src/third_party_open/swan/swan_mpi (and src/third_party_open/swan/swan_omp). I'm sure there is a better solution.