File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void Numerical_Basis::output_overlap( const ModuleBase::ComplexMatrix *psi)
6767 std::ofstream ofs;
6868 std::stringstream ss;
6969 // the parameter 'winput::spillage_outdir' is read from INPUTw.
70- ss << winput::spillage_outdir << " /" << GlobalC::ucell. latName << " ." << derivative_order << " .dat" ;
70+ ss << winput::spillage_outdir << " /" << " orb_matrix ." << derivative_order << " .dat" ;
7171 if (GlobalV::MY_RANK==0 )
7272 {
7373 ofs.open (ss.str ().c_str ());
Original file line number Diff line number Diff line change @@ -22,16 +22,17 @@ Please use the absolute path for each each file and directory.
2222
2323## (2) set up dependence env
2424Then, we set up the dependence env for ABACUS and SIAB, such as:
25- '''
26- module load hpcx/2.9.0/hpcx-intel-2019.update5 mkl/2019.update5 elpa/2019.05.002/hpcx-intel-2019.update5
27- '''
25+
26+ ``` bash
27+ $ module load hpcx/2.9.0/hpcx-intel-2019.update5 mkl/2019.update5 elpa/2019.05.002/hpcx-intel-2019.update5
28+ ```
2829Especially for SIAB with 'PyTorch Gradient' approach, we need pytorch v1.1.0.
2930
3031
3132### how to install pytorch:
3233Take the HanHai20@USTC system for example:
3334
34- ''' bash
35+ ``` bash
3536$ module load gcc/7.5.0min # :optional, larger version gcc may not be necessary.
3637$ module load anaconda3
3738$ module list
@@ -50,15 +51,15 @@ $ source deactivate #or: conda deactivate
5051$ source activate pytorch110 # or: conda activate pytorch110
5152$ pip3 install --user scipy numpy
5253$ pip3 install --user torch_optimizer
53- '''
54+ ```
5455
5556
5657## (3) run generation
5758Finally, 'cd' into an example folder, and run command like this:
5859
59- ''' bash
60- ../Generate_Orbital_AllInOne.sh ORBITAL_INPUT_DZP
61- # or
62- bsub -q idle -n 8 -oo running.log ../Generate_Orbital_AllInOne.sh ORBITAL_INPUT_DZP
63- '''
60+ ``` bash
61+ $ ../Generate_Orbital_AllInOne.sh ORBITAL_INPUT_DZP
62+ or
63+ $ bsub -q idle -n 8 -oo running.log ../Generate_Orbital_AllInOne.sh ORBITAL_INPUT_DZP
64+ ```
6465
You can’t perform that action at this time.
0 commit comments