CFD-GO / TCLB

TCLB - Templated MPI+CUDA/CPU Lattice Boltzmann code
https://tclb.io
GNU General Public License v3.0
184 stars 72 forks source link

Repeated output error message in TCLB 6.7 #475

Closed thebetter2 closed 10 months ago

thebetter2 commented 11 months ago

Background: I copied folder d3q27_pf_velocity to folder d3q27_pf_velocity_therm, then compiled it with "SetOptions(permissive.access=TRUE)" in Dynamic.R, the compiled result is passed , however, some XML files in the folder example/article cannot be run. I recompiled model d3q27_pf_velocity_therm without "SetOptions(permissive.access=TRUE)" in Dynamic.R, then there was a compilation error. Bug Description:When I compiled other models, the prompt message of model d3q27_pf_velocity_therm was output simultaneously. Even if the folder d3q27_pf_velocity_therm has been deleted in the CLB and model folders, its error prompt information will continue to be output thereafter. Partial output information is as follows (the following is 'make d2q9')

'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/source'
makefile.main:117934: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/source'
makefile.main:145366: warning: overriding recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/clean'
makefile.main:117937: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/clean'
makefile.main:145373: warning: overriding recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/vc'
makefile.main:117944: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/vc'
makefile.main:145376: warning: overriding recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/summary'
makefile.main:117947: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/summary'
makefile.main:145384: warning: overriding recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/docs'
makefile.main:117955: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/docs'
makefile.main:145389: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/main'
makefile.main:117960: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/main'
makefile.main:145392: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/'
makefile.main:117963: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/'
makefile.main:145400: warning: overriding recipe for target 'wiki/schema/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec.xsd'
makefile.main:117971: warning: ignoring old recipe for target 'wiki/schema/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec.xsd'
makefile.main:145411: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/tapenade.run'
makefile.main:117982: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/tapenade.run'
makefile.main:145415: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/dep.mk'
makefile.main:117986: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/dep.mk'
makefile.main:145419: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/makefile'
makefile.main:117990: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/makefile'
makefile.main:145424: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/options.R'
makefile.main:117995: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo_planarBenchmark_autosym_geometric_staircaseimp_isograd_tprec/options.R'
makefile.main:145603: warning: overriding recipe for target 'd3q27_pf_velocity_thermo'
makefile.main:90991: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo'
makefile.main:145606: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/kernel_stats_20'
makefile.main:90994: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/kernel_stats_20'
makefile.main:145609: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/source'
makefile.main:90997: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/source'
makefile.main:145612: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/clean'
makefile.main:91000: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/clean'
makefile.main:145619: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/vc'
makefile.main:91007: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/vc'
makefile.main:145622: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/summary'
makefile.main:91010: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/summary'
makefile.main:145630: warning: overriding recipe for target 'd3q27_pf_velocity_thermo/docs'
makefile.main:91018: warning: ignoring old recipe for target 'd3q27_pf_velocity_thermo/docs'
makefile.main:145635: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/main'
makefile.main:91023: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/main'
makefile.main:145638: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/'
makefile.main:91026: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/'
makefile.main:145646: warning: overriding recipe for target 'wiki/schema/d3q27_pf_velocity_thermo.xsd'
makefile.main:91034: warning: ignoring old recipe for target 'wiki/schema/d3q27_pf_velocity_thermo.xsd'
makefile.main:145657: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/tapenade.run'
makefile.main:91045: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/tapenade.run'
makefile.main:145661: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/dep.mk'
makefile.main:91049: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/dep.mk'
makefile.main:145665: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/makefile'
makefile.main:91053: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/makefile'
makefile.main:145670: warning: overriding recipe for target 'CLB/d3q27_pf_velocity_thermo/options.R'
makefile.main:91058: warning: ignoring old recipe for target 'CLB/d3q27_pf_velocity_thermo/options.R'
make: Circular CLB/d2q9/makefile <- CLB/d2q9/makefile dependency dropped.
make[1]: Entering directory '/media/TCLB-6.7/CLB/d2q9'
  DONE       main empty compare simplepart
make[1]: Leaving directory '/media/TCLB-6.7/CLB/d2q9'
  DONE       d2q9

Please fill: My configuration:

./configure --enable-cuda --enable-graphics

I was running with GPU SERIAL CUDA 12.2/...

llaniewski commented 11 months ago

This is probably because "thermo" is one of the options for the d3q27_pf_velocity: https://github.com/CFD-GO/TCLB/blob/9d3bd181c5653ea178fe4ff5a50317988621c865/models/multiphase/d3q27_pf_velocity/conf.mk#L3 this means that there is a conflict in naming between your model d3q27_pf_velocity_thermo and d3q27_pf_velocity with _thermo as option. Just name the model differently.

thebetter2 commented 11 months ago

okay,thank you.