mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-24 21:41:46 +02:00
Corrected SegFault with ifort
This commit is contained in:
parent
abff0f0c44
commit
ad3a1792a5
48
Makefile
48
Makefile
@ -39,59 +39,15 @@ emsl: EMSL_Basis
|
|||||||
binary:
|
binary:
|
||||||
$(QPACKAGE_ROOT)/scripts/make_binary.sh
|
$(QPACKAGE_ROOT)/scripts/make_binary.sh
|
||||||
|
|
||||||
resultsFile:
|
|
||||||
$(info $(BLUE)===== Installing resultsFile ===== $(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
$(QPACKAGE_ROOT)/scripts/install_resultsFile.sh
|
|
||||||
|
|
||||||
EZFIO: bin/irpf90
|
|
||||||
$(info $(BLUE)===== Installing EZFIO ===== $(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_ezfio.sh | tee install_ezfio.log
|
|
||||||
|
|
||||||
EMSL_Basis:
|
|
||||||
$(info $(BLUE)===== Installing EMSL_Basis_Set_Exchange_Local ===== $(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_emsl.sh | tee install_emsl.log
|
|
||||||
|
|
||||||
zlib:
|
|
||||||
$(info $(BLUE)===== Installing Zlib ===== $(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_zlib.sh | tee install_zlib.log
|
|
||||||
|
|
||||||
|
|
||||||
bin/irpf90:
|
|
||||||
$(info $(BLUE)===== Installing IRPF90 ===== $(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_irpf90.sh | tee install_irpf90.log
|
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
$(MAKE) -C doc
|
$(MAKE) -C doc
|
||||||
|
|
||||||
src: irpf90 EZFIO ocaml
|
src:
|
||||||
@export QPACKAGE_ROOT=$$PWD ; \
|
|
||||||
$(MAKE) -C src
|
$(MAKE) -C src
|
||||||
|
|
||||||
bin/curl:
|
ocaml:
|
||||||
$(info $(BLUE)===== Installing curl =====$(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_curl.sh | tee install_curl.log
|
|
||||||
|
|
||||||
bin/m4:
|
|
||||||
$(info $(BLUE)===== Installing m4 =====$(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_m4.sh | tee install_m4.log
|
|
||||||
|
|
||||||
|
|
||||||
ocaml: curl m4 emsl zlib
|
|
||||||
- rm -f -- ocaml/Qptypes.ml
|
|
||||||
$(MAKE) ocaml/Qptypes.ml
|
$(MAKE) ocaml/Qptypes.ml
|
||||||
|
|
||||||
ocaml/Qptypes.ml:
|
|
||||||
$(info $(BLUE)===== Installing ocaml =====$(BLACK))
|
|
||||||
@sleep 1
|
|
||||||
QPACKAGE_ROOT=$$PWD ./scripts/install_ocaml.sh | tee install_ocaml.log
|
|
||||||
|
|
||||||
veryclean:
|
veryclean:
|
||||||
rm -f EZFIO
|
rm -f EZFIO
|
||||||
$(MAKE) EZFIO
|
$(MAKE) EZFIO
|
||||||
|
@ -52,7 +52,9 @@ doc: qpackage.odocl
|
|||||||
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
|
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
|
||||||
ln -s $*.byte $*
|
ln -s $*.byte $*
|
||||||
|
|
||||||
%.native: $(MLFILES) $(MLIFILES) executables
|
qp_run.native: $(MLFILES) $(MLIFILES) executables
|
||||||
|
|
||||||
|
%.native: $(MLFILES) $(MLIFILES)
|
||||||
rm -f -- $*
|
rm -f -- $*
|
||||||
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
|
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
|
||||||
ln -s $*.native $*
|
ln -s $*.native $*
|
||||||
@ -65,7 +67,6 @@ qptypes_generator.byte: qptypes_generator.ml
|
|||||||
|
|
||||||
Qptypes.ml: qptypes_generator.byte
|
Qptypes.ml: qptypes_generator.byte
|
||||||
./qptypes_generator.byte > Qptypes.ml
|
./qptypes_generator.byte > Qptypes.ml
|
||||||
rm qptypes_generator.byte
|
|
||||||
|
|
||||||
${QPACKAGE_ROOT}/EZFIO/Ocaml/ezfio.ml:
|
${QPACKAGE_ROOT}/EZFIO/Ocaml/ezfio.ml:
|
||||||
$(MAKE) -C ${QPACKAGE_ROOT}/src ezfio
|
$(MAKE) -C ${QPACKAGE_ROOT}/src ezfio
|
||||||
|
@ -22,8 +22,9 @@ subroutine trap_signals
|
|||||||
! What to do when a signal is caught. Here, trap Ctrl-C and call the control_C subroutine.
|
! What to do when a signal is caught. Here, trap Ctrl-C and call the control_C subroutine.
|
||||||
END_DOC
|
END_DOC
|
||||||
integer, external :: catch_signal
|
integer, external :: catch_signal
|
||||||
integer, parameter :: sigusr2 = 12
|
integer :: sigusr2, status
|
||||||
call signal (sigusr2, catch_signal)
|
sigusr2 = 12
|
||||||
|
call signal (sigusr2, catch_signal,status)
|
||||||
end subroutine trap_signals
|
end subroutine trap_signals
|
||||||
|
|
||||||
integer function catch_signal(signum)
|
integer function catch_signal(signum)
|
||||||
|
Loading…
Reference in New Issue
Block a user