<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 7 Jan 2012, at 00:52, Bruno Coutinho Mundim wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Ian:<br><br>Ian Hinder wrote:<br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite">I have recently been getting the following linker error on some builds of the ET:<br></blockquote><blockquote type="cite"><blockquote type="cite">/home/ianhin/Cactus/EinsteinToolkitTests/configs/einsteintoolkit_e055fb02a4c17556fd41c009e44c5f0671d21e6e/lib/libthorn_CactusBindings.a(ScheduleGRHydro_InitData.c.o): In function `CCTKi_BindingsSchedule_GRHydro_InitData':<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/home/ianhin/Cactus/EinsteinToolkitTests/configs/einsteintoolkit_e055fb02a4c17556fd41c009e44c5f0671d21e6e/bindings/Schedule/ScheduleGRHydro_InitData.c:185: undefined reference to `grhydro_cylindricalexplosionm_'<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">make[1]: *** [/home/ianhin/Cactus/EinsteinToolkitTests/exe/cactus_einsteintoolkit_e055fb02a4c17556fd41c009e44c5f0671d21e6e] Error 1<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">make: *** [einsteintoolkit_e055fb02a4c17556fd41c009e44c5f0671d21e6e] Error 2<br></blockquote></blockquote><blockquote type="cite">It is reproducible, in the sense that I can run the build command again on the same configuration without cleaning it, and get the same error. But when a new configuration is built, the error goes away or changes. I first saw this a few days ago, and have never seen it before. <br></blockquote>I haven't seen this error at all when I compile this routine. The only thing "special" about this routine with respect to others is that it<br>contains a fortran function definition in there. You said the error goes<br>away or changes in a new configuration. When it changes, does it happen<br>to routines in GRHydro that contains functions definitions like for<br>example, GRHydro_TVDReconstruct.F90 and GRHydro_Startup.F90? Maybe<br>encapsulating the function cyl_fr in GRHydro_CylindricalExplosionM.F90<br>helps, i.e. to insert a "contains" statement such that:<br><br>subroutine GRHydro_cylindricalexplosionM(...)<br>...<br>contains<br> function cyl_fr(...)<br> ...<br> end function cyl_fr<br><br>end subroutine GRHydro_CylindricalExplosionM<br><br>In any case I am still puzzled about this issue, since there seem to be<br>no change in the flesh or FORTRAN thorn in the last few days that could<br>be responsible for this change in behavior. Was there any change/patch<br>in the compiler in the last few days in your system? Was there any change in your compiler option list?<br></div></blockquote><div><br></div><div>According to our cluster administrator, nothing has changed on the cluster, and there has been no change to the option list. I am now convinced of the following things:</div><div><br></div><div>1. The previous suspicion concerning GRHydro was incorrect - the problem seems to happen also with SymBase and CarpetSlab.</div><div><br></div><div>2. The problems appear after completely irrelevant changes (e.g. to simfactory definitions for another machine - something that should have absolutely no connection to the build).</div><div><br></div><div>Given this, I now suspect some sort of problem on the machine I am running with, most likely related to the filesystem.</div><div><br></div></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- </div><div>Ian Hinder</div><div><a href="http://numrel.aei.mpg.de/people/hinder">http://numrel.aei.mpg.de/people/hinder</a></div></div></span></div></span></div></span></span>
</div>
<br></body></html>