error compiling VASP 6.3.0 with VTST
Moderator: moderators
error compiling VASP 6.3.0 with VTST
Dear developers,
When I tried to make with vtstcode-190 on vasp 6.3.0, I got an error.
"""""""
make[2]: *** No rule to make target 'pyamff_fortran/*.f90' required by 'depend'.
"""""""
What are the possible causes?
I think I followed the instructions before making, but I'm not sure.
When I tried to make with vtstcode-190 on vasp 6.3.0, I got an error.
"""""""
make[2]: *** No rule to make target 'pyamff_fortran/*.f90' required by 'depend'.
"""""""
What are the possible causes?
I think I followed the instructions before making, but I'm not sure.
Re: error compiling VASP 6.3.0 with VTST
Hello,
Did you copy the directory pyamff_fortran in vtstcode-190 to your vasp/vasp.6.3.0/src? Make sure that you have the directory in your src. Let me know if you still have an issue.
Thanks,
Jiyoung
Did you copy the directory pyamff_fortran in vtstcode-190 to your vasp/vasp.6.3.0/src? Make sure that you have the directory in your src. Let me know if you still have an issue.
Thanks,
Jiyoung
Re: error compiling VASP 6.3.0 with VTST
Hello jiyoung,
Thank you for your reply.
After confirming, the directory "pyamff_fortran" is put in src of vasp as a directory.I put all files and directorys into src .
According to the guide, I wrote pyamff_fortran/*.o in the .object file.
But as a try, when I wrote pyamff_fortran/adam.o pyamff_fortran/atom.o ... as each file , it was displayed like this.
"""""""
make[2]: *** No rule to make target 'pyamff_fortran/adam.f90' required by 'depend'.
"""""""
I don't know much about how makefiles work, but bfgs.o dynmat.o ... written in .object before pyamff_fortran/*.o seems to be successfully made.
It seems that it cannot make anything in the pyamff_fortran/ directory to create "depend" written in the makefile in the src directory.
Can this be solved by moving the files in pyamff_fortran/ directory to src directory one level higher and setting .object to adam.o instead of pyamff_fortran/adam.o?
By the way,I wrote LIB = lib parser pyamff_fortran in the src makefile.
However, the files in the lib and parser directories are not written in .object.
Is there a possibility that it will be made through other paths that lib and parser pass, even if pyamff_fortran/*.o is not written in .object ?
Thanks,
k.nishi
Thank you for your reply.
After confirming, the directory "pyamff_fortran" is put in src of vasp as a directory.I put all files and directorys into src .
According to the guide, I wrote pyamff_fortran/*.o in the .object file.
But as a try, when I wrote pyamff_fortran/adam.o pyamff_fortran/atom.o ... as each file , it was displayed like this.
"""""""
make[2]: *** No rule to make target 'pyamff_fortran/adam.f90' required by 'depend'.
"""""""
I don't know much about how makefiles work, but bfgs.o dynmat.o ... written in .object before pyamff_fortran/*.o seems to be successfully made.
It seems that it cannot make anything in the pyamff_fortran/ directory to create "depend" written in the makefile in the src directory.
Can this be solved by moving the files in pyamff_fortran/ directory to src directory one level higher and setting .object to adam.o instead of pyamff_fortran/adam.o?
By the way,I wrote LIB = lib parser pyamff_fortran in the src makefile.
However, the files in the lib and parser directories are not written in .object.
Is there a possibility that it will be made through other paths that lib and parser pass, even if pyamff_fortran/*.o is not written in .object ?
Thanks,
k.nishi
Re: error compiling VASP 6.3.0 with VTST
Could you post your makefile.include, /src/makefile, and /src/.objects? I will try with my own vasp 6.3.0.
Jiyoung
Jiyoung
Re: error compiling VASP 6.3.0 with VTST
Thank you for your cooperation.
These are my files.
I add .txt extention to send so please remove it.
I elased variable MKLROOT HDF5_ROOT in makefile.include
These are my files.
I add .txt extention to send so please remove it.
I elased variable MKLROOT HDF5_ROOT in makefile.include
- Attachments
-
- makefile.include.txt
- (1.88 KiB) Downloaded 16123 times
-
- makefile.txt
- (4.57 KiB) Downloaded 16176 times
-
- objects.txt
- (3.94 KiB) Downloaded 16185 times
Re: error compiling VASP 6.3.0 with VTST
I can't reproduce your error. Can you try "make veryclean" and "make" again?
Thanks,
Jiyoung
Thanks,
Jiyoung
Re: error compiling VASP 6.3.0 with VTST
@k.nishi:
If you were doing "make" in parallel, could you try doing it serially? (just the "make" command, instead of "make DEPS=1 -jxxx all")
If you were doing "make" in parallel, could you try doing it serially? (just the "make" command, instead of "make DEPS=1 -jxxx all")
Re: error compiling VASP 6.3.0 with VTST
and if you get another error about "ML_PYAMFF", try removing line 91 ( $(VTST_OBJS) \ ) in the src/makefile
Re: error compiling VASP 6.3.0 with VTST
Thank you for your patience. To compile vasp in parallel, you need one more modification of your /src/makefile.
For dependencies, you need libs, i.e.,
dependencies: sources libs
$(MAKE) depend
This should fix the error. Thank you for your report. We will update the installation docs.
Best,
Jiyoung
For dependencies, you need libs, i.e.,
dependencies: sources libs
$(MAKE) depend
This should fix the error. Thank you for your report. We will update the installation docs.
Best,
Jiyoung
Re: error compiling VASP 6.3.0 with VTST
Dear Jiyoung and Sung,
Thank you so so so much. I was able to compile.
Thank you so so so much. I was able to compile.