Skip to content

Commit d47f00c

Browse files
committed
Merge branch 'devel' of https://github.com/Quantum-Dynamics-Hub/libra-code into devel
2 parents 4c48bf1 + 37cb935 commit d47f00c

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,13 @@ Next, all what we actually need:
137137
conda install -y -c psi4/label/dev libint2=2.7.1
138138
conda install -y -c anaconda h5py gmp
139139

140-
141140
Install Jupyter Lab or traditional Jupyter notebook as explainted [here](https://jupyter.org/install):
142141

143142
pip install -U jupyterlab
144143

145144
or
146145

147-
pit install -U notebook
146+
pip install -U notebook
148147

149148

150149
Install py3Dmol for viewing molecular structures:
@@ -161,6 +160,17 @@ Installation instruction of Scikit-learn from its official website:
161160
> YES - IT GOT SMALLER AND MORE COMPACT !
162161
>
163162

163+
Install PyTorch - since the current versions of Libra have a growing number of
164+
functions/modules written with PyTorch. The general instructions can be found [here](https://pytorch.org/get-started/locally/)
165+
166+
As a simple (most common case, peraps), we install PyTorch for CPU on Linux with:
167+
168+
pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
169+
170+
or
171+
172+
conda install pytorch cpuonly -c pytorch
173+
164174

165175
### 3. Download and build Libra
166176

@@ -252,7 +262,25 @@ Step 2: Install ipykernel and register the kernel
252262

253263
Now, in Jupyter, you'll see a new kernel called "Python (libra)". Select that in your notebook.
254264

265+
### 4. 7/31/2025 (from Daeho Han)
266+
267+
Here are some installationinstructions from **Daeho Han** that may be used as a good revised summary of the above
268+
installation instructions:
269+
270+
conda create -n libra
271+
conda install -c conda-forge boost=1.82 python=3.10
272+
conda install -y -c conda-forge numpy scipy matplotlib imageio
255273

274+
conda install -y conda-build make
275+
conda install -y -c conda-forge gcc_linux-64=12.2.0 gxx_linux-64=12.2.0 cmake=3.24.2 python-devtools llvm-openmp
276+
conda install -y -c conda-forge/label/gcc7 eigen mpfr
277+
conda install -y -c psi4/label/dev libint2=2.7.1
278+
conda install -y -c anaconda h5py gmp
279+
280+
pip install -U jupyterlab
281+
pip install -U py3Dmol
282+
pip install -U scikit-learn
283+
pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
256284

257285
## Developers and Contributors
258286

0 commit comments

Comments
 (0)