<div dir="ltr"><div>That is intentional.</div><div>There is no reason to trust what you manually put in the external/XXX submodule folder. Potential issues are file integrity. version consistency with QE.<br></div><div>If you intend to use pre-built libraries, FOX_ROOT, DEVXLIB_ROOT, WANNIER90_ROOT, MBD_ROOT are all available although those external packages may have limitations if being built outside QE. <br></div><div>If your build machine doesn't have internet access. Use initialize_external_repos.sh to initialize all the submodules on a machine with internet before transfering over.</div><div><br></div><div>There is one thing not clear to me. You mentioned "re-clones" and "cloned submodules", did you manually "git clone" these file? or how did you manually created the files which later caused issues with CMake?<br></div><div></div><div>Ye</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 10, 2022 at 3:42 AM Yuri <<a href="mailto:yuri@freebsd.org">yuri@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The project has submodules, but cmake still re-clones them despite files <br>
being already there.<br>
<br>
-- Installing FoX via submodule<br>
-- Cloning <a href="https://github.com/pietrodelugas/fox.git" rel="noreferrer" target="_blank">https://github.com/pietrodelugas/fox.git</a> into <br>
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/fox.<br>
hint: Using 'master' as the name for the initial branch. This default <br>
branch name<br>
hint: is subject to change. To configure the initial branch name to use <br>
in all<br>
hint: of your new repositories, which will suppress this warning, call:<br>
hint:<br>
hint: git config --global init.defaultBranch <name><br>
hint:<br>
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and<br>
hint: 'development'. The just-created branch can be renamed via this <br>
command:<br>
hint:<br>
hint: git branch -m <name><br>
Initialized empty Git repository in <br>
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/fox/.git/<br>
<br>
-- Cloning <a href="https://github.com/wannier-developers/wannier90.git" rel="noreferrer" target="_blank">https://github.com/wannier-developers/wannier90.git</a> into <br>
/disk-samsung/freebsd-ports/science/quantum-espresso/work/q-e-qe-7.0/external/wannier90.<br>
hint: Using 'master' as the name for the initial branch. This default <br>
branch name<br>
hint: is subject to change. To configure the initial branch name to use <br>
in all<br>
hint: of your new repositories, which will suppress this warning, call:<br>
hint:<br>
<br>
<br>
Expected behavior: cloned submodules should be used when present, <br>
otherwise it should attempt to use pre-installed packages.<br>
<br>
<br>
Thanks,<br>
<br>
Yuri<br>
<br>
<br>
_______________________________________________<br>
developers mailing list<br>
<a href="mailto:developers@lists.quantum-espresso.org" target="_blank">developers@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/developers</a><br>
</blockquote></div>