Comments (5)
Yes it is normal. QP is compiled with ninja, so make calls ninja.
from qp2.
@scemama
my bro, If I want to change the statements inside the compiled file, to change some statements that the compiler executes by default, which file should I change?
from qp2.
The compiler flags are specified in the files in the config
directory. If you need to change compiler flags, you should create your own new file, otherwise it will be overwritten when you make a git pull.
These configuration files are parsed by scripts to produce the config/build.ninja
file which is used by ninja to compile the files.
The scripts producing the config/build.ninja
file are located in scripts/compilation/
.
from qp2.
If I now install QP under another version of Linux kernel, such as ARM, I have the following error in the make process:
bash -c "source quantum_package.rc ; ninja"
[WARNING] Running as root is not recommended
[1/3] Compiling all modules
[0/138] Create /root/test/qp2/lib/libezfio_irp.a
make[1]: Entering directory '/root/test/qp2/external/ezfio'
make -C src veryclean
make[2]: Entering directory '/root/test/qp2/external/ezfio/src'
mkdir -p IRPF90_temp/
gfortran -ffree-line-length-none -I . -mavx -g -fPIC -fopenmp -c system_f.f90 -o IRPF90_temp/system_f.o && cp system.mod IRPF90_temp/
gfortran: error: unrecognized command line option ‘-mavx’
Now I need to modify the Makefile followed by QP compilation, but since QP is compiled by calling ninja, I need to modify which file to modify:
gfortran: error: unrecognized command line option ‘-mavx’
from qp2.
You need to create a new config file where the flag -mavx
is absent. But I believe you will have other problems on ARM because we never tested it.
from qp2.
Related Issues (20)
- qp2-dependencies not at latest commit HOT 1
- How to execute multiple test cases at the same time HOT 5
- Test case script HOT 1
- /bin/qp_mpirun
- ./configure -c config/gfortran_mpi.cfg HOT 4
- Software packaging problems HOT 13
- ocaml 4.11 in qp2-dependencies incompatible with glibc>=2.34 HOT 1
- SCF energy HOT 1
- Issue with print_wf after running CIPSI calculation HOT 3
- OpenSUSE problem HOT 1
- Type mismatch HOT 1
- Ninja: build stopped: subcommand failed HOT 2
- QP2 singularity running in parallel (OpenMPI) on multiple nodes HOT 4
- Problems with qp run diagonalize_h HOT 3
- Issues Installing Quantum Package Using zsh Shell HOT 2
- orbital optimization crash with memory issue. HOT 2
- qp edit feature request HOT 1
- Put the .cfg file in the buil.ninja locally in all plugins :)
- [work-in-progress] possible issue with multi-node cipsi using ORMAS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qp2.