error compiling VASP 6.3.0 with VTST

Vasp transition state theory tools

Moderator: moderators

Post Reply
k.nishi
Posts: 4
Joined: Sat Dec 24, 2022 6:56 am

error compiling VASP 6.3.0 with VTST

Post by k.nishi »

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.
jiyoung
Posts: 9
Joined: Fri Dec 02, 2022 4:24 am

Re: error compiling VASP 6.3.0 with VTST

Post by jiyoung »

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
k.nishi
Posts: 4
Joined: Sat Dec 24, 2022 6:56 am

Re: error compiling VASP 6.3.0 with VTST

Post by k.nishi »

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
jiyoung
Posts: 9
Joined: Fri Dec 02, 2022 4:24 am

Re: error compiling VASP 6.3.0 with VTST

Post by jiyoung »

Could you post your makefile.include, /src/makefile, and /src/.objects? I will try with my own vasp 6.3.0.

Jiyoung
k.nishi
Posts: 4
Joined: Sat Dec 24, 2022 6:56 am

Re: error compiling VASP 6.3.0 with VTST

Post by k.nishi »

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
Attachments
makefile.include.txt
(1.88 KiB) Downloaded 16120 times
makefile.txt
(4.57 KiB) Downloaded 16173 times
objects.txt
(3.94 KiB) Downloaded 16182 times
jiyoung
Posts: 9
Joined: Fri Dec 02, 2022 4:24 am

Re: error compiling VASP 6.3.0 with VTST

Post by jiyoung »

I can't reproduce your error. Can you try "make veryclean" and "make" again?

Thanks,
Jiyoung
sung
Posts: 3
Joined: Tue Jan 03, 2023 3:10 am

Re: error compiling VASP 6.3.0 with VTST

Post by sung »

@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")
sung
Posts: 3
Joined: Tue Jan 03, 2023 3:10 am

Re: error compiling VASP 6.3.0 with VTST

Post by sung »

and if you get another error about "ML_PYAMFF", try removing line 91 ( $(VTST_OBJS) \ ) in the src/makefile
jiyoung
Posts: 9
Joined: Fri Dec 02, 2022 4:24 am

Re: error compiling VASP 6.3.0 with VTST

Post by jiyoung »

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
k.nishi
Posts: 4
Joined: Sat Dec 24, 2022 6:56 am

Re: error compiling VASP 6.3.0 with VTST

Post by k.nishi »

Dear Jiyoung and Sung,

Thank you so so so much. I was able to compile.
Post Reply