aoterodelaroza / critic2

Analysis of quantum chemical interactions in molecules and solids.
Other
100 stars 35 forks source link

rhoplot.f90 stop make process #67

Open alas-go opened 8 months ago

alas-go commented 8 months ago

Dear Sir/Madam libxc and readline could not be recongnizedd by the 1.1-dev code. So i changed to master code of critic2. Using the master version, all external packages can be read by critic2 through cmake compiling. but the make process go not well. it stop. My OS is Ubuntu 22.04 LTS with gcc-11 and gfortan -11. Attached txt records the errors. it seems like rhoplot.f90 Could you give some help?

install-cmake-errors.txt

aoterodelaroza commented 8 months ago

Hi @alas-go: I just tried the latest repo version with gfortran-11 on debian and it worked. What steps did you use, exactly? Can you please recompile from scratch without the -j option in make and post the full result (not just the last part)?

alas-go commented 8 months ago

the above problem is about libxc with disable fortran option. I change the cmake option of libxc and the problem does not be reproduced. However, readline reports errors when make. the cmake and make log files have been updated here.

cmake-log.txt make-log.txt

aoterodelaroza commented 8 months ago

I used cmake with any combination of -DUSE_LIBXC=OFF and -DUSE_READLINE=OFF and libxc 6.2.2. It still works for me. I can't reproduce your error. Your last cmake log looks good and the make log looks like it compiled correctly. I don't understand the problem, sorry. I will need a lot more details to be able to help.

alas-go commented 8 months ago

readline libraries are compiled with configure/make method as code below and report no errors. ./configure --prefix=/home/adm/readline-gnu \ --enable-install-examples --enable-multibyte \ --enable-shared --enable-static make -j 24 make install