CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Compiling New Solver Dependency List

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2018, 04:24
Default Compiling New Solver Dependency List
  #1
Member
 
Tony Zahtila
Join Date: Mar 2016
Posts: 33
Rep Power: 10
tzaht is on a distinguished road
Hi,

I've had a read of the following: https://cfd.direct/openfoam/user-gui...-applications/

I still am unable to resolve my issue.

Code:
Making dependency list for source file myicoFoam.C
could not open file basicKinematicCollidingCloud.H for source file myicoFoam.C due to No such file or directory
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/lagrangian/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/OSspecific/POSIX/lnInclude   -fPIC -c myicoFoam.C -o /home/tz/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/myicoFoam/myicoFoam.o
myicoFoam.C:34:42: fatal error: Making dependency list for source file myicoFoam.C
could not open file basicKinematicCollidingCloud.H for source file myicoFoam.C due to No such file or directory
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/lagrangian/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude -I/home/tz/OpenFOAM/OpenFOAM-5.x/src/OSspecific/POSIX/lnInclude   -fPIC -c myicoFoam.C -o /home/tz/OpenFOAM/OpenFOAM-5.x/platforms/linux64GccDPInt32Opt/applications/solvers/incompressible/myicoFoam/myicoFoam.o
myicoFoam.C:34:42: fatal error: basicKinematicCollidingCloud.H: No such file or directory: No such file or directory
This is confusing me because I can see basicKinematicCollidingCloud.H within lagrangian/lnInclude, so from what I understand in the documentation, this should be included in the compilation dependency list.

I've attached a zip if anybody is able to unpack it and try run 'wmake all' to see where the issue might be.

In advance, kind thank you for any suggestions.
tzaht is offline   Reply With Quote

Old   August 7, 2018, 05:28
Default
  #2
Member
 
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11
Robin.Kamenicky is on a distinguished road
Hi Tony,

have not you forget to attach the zip file?

Kind Regards,
Robin
Robin.Kamenicky is offline   Reply With Quote

Old   August 7, 2018, 18:12
Default
  #3
Member
 
Tony Zahtila
Join Date: Mar 2016
Posts: 33
Rep Power: 10
tzaht is on a distinguished road
Quote:
Originally Posted by Robin.Kamenicky View Post
Hi Tony,

have not you forget to attach the zip file?

Kind Regards,
Robin

Dear Robin,


It seems that my upload was too big for the forum's limits.

The tar.gz file can be found here:

https://drive.google.com/file/d/14Wa...ew?usp=sharing
tzaht is offline   Reply With Quote

Old   August 14, 2018, 15:08
Default
  #4
Member
 
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11
Robin.Kamenicky is on a distinguished road
Hi Tony,

can I ask you what do you intent to achieve?

Are you sure you need to compile all the libraries?

Kind regards,
Robin
Robin.Kamenicky is offline   Reply With Quote

Old   August 16, 2018, 15:11
Default
  #5
Member
 
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11
Robin.Kamenicky is on a distinguished road
Hi Tony,

Finally, I have had a look at your files a bit more. The main problem is in myicoFoam/Make/options. You have
Code:
-I/lagrangian/lnInclude \
but it should be
Code:
-Ilagrangian/lnInclude \
When you correct this. You will get another error that Cloud.H is missing

Further, there are quite a few warnings of the compiler:
Code:
Leaving directory 'myicoFoam/lagrangian/intermediate'
Make/options:2:28: warning: backslash and newline separated by space
     -Ilagrangian/lnInclude \
Make/options:2:41: warning: backslash and newline separated by space
     -Ilagrangian/intermediate/lnInclude \
Make/options:19:45: warning: backslash and newline separated by space
     -I$(LIB_SRC)/lagrangian/basic/lnInclude \
Make/options:20:59: warning: backslash and newline separated by space
     -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
 Make/options:24:27: warning: backslash and newline separated by space
     -L$(FOAM_USER_LIBBIN) \
Code:
make[1]: Leaving directory 'myicoFoam/lagrangian'
Make/options:2:28: warning: backslash and newline separated by space
     -Ilagrangian/lnInclude \ 
                            ^
Make/options:19:45: warning: backslash and newline separated by space
     -I$(LIB_SRC)/lagrangian/basic/lnInclude \ 
                                             ^
Make/options:20:59: warning: backslash and newline separated by space
     -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ 
                                                           ^
Make/options:25:30: warning: backslash and newline separated by space
     -llagrangianIntermediate \
You also sometimes repeat entries in Make/options files.
Let me know, if you will not be able to resolve the other error.

Kind Regards,
Robin
Robin.Kamenicky is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 04:01
OF 2.1.1 error in compiling modified solver anuragm OpenFOAM Programming & Development 2 November 28, 2014 09:37
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 04:41.