Dear Pietro
Thank you very much, it works now.

compiling without internet connection is a bit of a pain

It didn't use to be this way... :-o

Best Wishes
Giuseppe

Quoting Pietro Bonfa' <pietro.bo...@unipr.it>:

Dear Giuseppe,

compiling without internet connection is a bit of a pain, but I guess
you were nearly there. I did

cd QE_ROOT/external/devxlib
tar xzf /path/to/devicexlib-master.tar.gz --strip-components=1 -C .

and the content of 'external/devxlib' looked like this

bck  bin  config  config.log  configure  extlibs  include  install
Makefile  make.inc  README.md  src  src_generator

Now it is compiling smoothly while I'm writing this email disconnected
from the internet.

HTH,
best regards,
Pietro




On 10/14/21 16:56, Giuseppe Mattioli wrote:

Dear all
After a successful ./configure, I'm facing a "new" problem in the
compilation of QE 6.8. make tries to find and download some external
libraries, but the machine is not connected to internet and it fails.
I've also tried to download the devicexlib-master.tar.gz archive and to
put it manually in the /opt/local/QE/6.8/external/devxlib directory, but
it doesn't change a thing.

cd install ; make -f extlibs_makefile libcuda
make[1]: Entering directory `/opt/local/QE/6.8/install'
cd ../external/devxlib; \
    if test ! -e configure; then \
    wget
"https://gitlab.com/max-centre/components/devicexlib/-/archive/master/devicexlib-master.tar.gz
-O devxlib.tar.gz || curl
"https://gitlab.com/max-centre/components/devicexlib/-/archive/master/devicexlib-master.tar.gz
-o devxlib.tar.gz ; \
    tar xzf devxlib.tar.gz --strip-components=1 -C . ; \
    rm devxlib.tar.gz ; \
    fi; \
    touch make.inc; \
    make clean; \
    export F90FLAGS=""; \
    ./configure FC=gfortran CC=cc \
                --with-cuda=no \
                --with-cuda-cc= \
                --with-cuda-runtime= \
                --disable-parallel \
                --enable-cuda-env-check=no; \
    make all
--2021-10-14 16:46:49--
https://gitlab.com/max-centre/components/devicexlib/-/archive/master/devicexlib-master.tar.gz

Risoluzione di gitlab.com (gitlab.com)... fallito: Nome o servizio
sconosciuto.
wget: impossibile risolvere l'indirizzo dell'host "gitlab.com"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:19
--:--:--     0curl: (6) Could not resolve host: gitlab.com; Errore
sconosciuto

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[2]: Entering directory `/opt/local/QE/6.8/external/devxlib'
make[2]: *** Nessuna regola per generare l'obiettivo «clean».  Stop.
make[2]: Leaving directory `/opt/local/QE/6.8/external/devxlib'
/bin/sh: line 9: ./configure: File o directory non esistente
make[2]: Entering directory `/opt/local/QE/6.8/external/devxlib'
make[2]: *** Nessuna regola per generare l'obiettivo «all».  Stop.
make[2]: Leaving directory `/opt/local/QE/6.8/external/devxlib'
make[1]: *** [libcuda_devxlib] Errore 2
make[1]: Leaving directory `/opt/local/QE/6.8/install'
make: *** [libcuda] Errore 2

Any suggestion?
Thank you in advance
Giuseppe


GIUSEPPE MATTIOLI
CNR - ISTITUTO DI STRUTTURA DELLA MATERIA
Via Salaria Km 29,300 - C.P. 10
I-00015 - Monterotondo Scalo (RM)
Mob (*preferred*) +39 373 7305625
Tel + 39 06 90672342 - Fax +39 06 90672316
E-mail: <giuseppe.matti...@ism.cnr.it>

_______________________________________________
Quantum ESPRESSO is supported by MaX
(http://www.max-centre.eu/

users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users>

Firma il tuo 5x1000 all’Università di Parma, aiutaci a essere sempre più accoglienti e inclusivi verso le nostre studentesse e i nostri studenti - Indica 00308780345 nella tua denuncia dei redditi.
_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users



GIUSEPPE MATTIOLI
CNR - ISTITUTO DI STRUTTURA DELLA MATERIA
Via Salaria Km 29,300 - C.P. 10
I-00015 - Monterotondo Scalo (RM)
Mob (*preferred*) +39 373 7305625
Tel + 39 06 90672342 - Fax +39 06 90672316
E-mail: <giuseppe.matti...@ism.cnr.it>

_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

Reply via email to