Forum

[dflowfm_69918] Silent errors during build

Veethahavya Kootanoor Sheshadrivasan, modified 2 Years ago.

[dflowfm_69918] Silent errors during build

Youngling Posts: 3 Join Date: 8/8/22 Recent Posts
HI,

I have been unsuccessfully trying to builf the dflowFM program for a while now. I must confess that I am not familiar with CMake. The furthest I came to building the program is this instance where the script (src/build_gnu.sh) says that the build was finished but in fact, the binaries were not build in src/bin. On inspection of the make logfile, I noticed a few silent errors (complete logfiles can be found as an attachment):
​​​​​​​
```
( \
cd . ; \
./install.sh /home/dflowfm/dflowfm_69918/src \
)
oss-install...
Prefix : /home/dflowfm/dflowfm_69918/src
Target directory : /home/dflowfm/dflowfm_69918/src/bin
Current directory : /home/dflowfm/dflowfm_69918/src
Source root dir : /home/dflowfm/dflowfm_69918/src/scripts_lgpl/linux/../..
Gathering dependent libraries . . .
Gathering libraries for lib/* ...
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
cp: missing destination file operand after '/home/dflowfm/dflowfm_69918/src/lib'
Try 'cp --help' for more information.
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
Gathering libraries for bin/* ...
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
cp: missing destination file operand after '/home/dflowfm/dflowfm_69918/src/lib'
Try 'cp --help' for more information.
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
not a dynamic executable
```

System configuration:
- Ubuntu 22.04 on WSL2 (x64)
- Intel OneAPI 2022.06

libtool_install.sh is not generated to continue further with the instructions provided.
​​​​​​​
Any help is highly appreciated. I am stuck trying to build (even tried tag:68819 as suggested in the readme) for a couple of weeks now! And yes, I tried to follow the steps mentioned in src/README.md as well (by exporting flags as necessary petsc and netcdf_fortran). I have even tried compiling it on CentOS7 (tag:68819), however, the older version of gfortran packaged on it throws some errors.

Is there perhaps a dockerised version the program or better documentation someone can point me to? That would be great.

Thanks in advance!
Cheers,
Veethahavya