Page 1 of 1

Create vasp base directory and makefile.include

Posted: Fri Jun 21, 2024 9:56 am
by shehnaz
Dear VASP Team,

I am following steps on VASP Wiki to install VASP on Windows subsystem Ubuntu 22.04. I have successfully installed compilers by using the code
'sudo apt install rsync make build-essential g++ gfortran libopenblas-dev libopenmpi-dev libscalapack-openmpi-dev libfftw3-dev libhdf5-openmpi-dev'
After downloading source code and extracting file using 7-zip, I have used mkdir to make directory but when I use 'cp arch/makefile.include.gnu_omp makefile.include'; terminal is not processing and showing that
cp: missing destination file operand after 'arch/makefile.include.linux.intel'
Try 'cp --help' for more information.

Please help me how to handle this. I have attached the screenshot. Also please tell me that in the Arch folder, there are many makefile.include files e.g gnu, intel. etc. Should I have to include all or just one?

Thank you very much.

Best regards,
Hafiz

Re: Create vasp base directory and makefile.include

Posted: Mon Jun 24, 2024 9:46 am
by pedro_melo
Dear shehnaz,

You have to add a target to where the file is going to be copied. An example is

Code: Select all

$ cp arch/makefile.include.gnu makefile.include
So the syntax is

Code: Select all

$ cp file_to_copy file_copy
"$ cp file_to_copy file_copy", where

Code: Select all

file_to_copy
is the path to the file you want to copy, and

Code: Select all

file_copy
is the path to where you want it to be copied. If you search for "terminal cp command" you can find several pages that can help you learning about how cp and other command line instructions work.

Kind regards,
Pedro

Re: Create vasp base directory and makefile.include

Posted: Tue Jun 25, 2024 9:22 pm
by shehnaz
Dear Pedro,

Thank you very much.

Best regards,
Hafiz