-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
139 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test All Installations | ||
name: Test AI Installations | ||
|
||
on: [push, pull_request] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Test ES Installations | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] # Matrix with different Python versions | ||
steps: | ||
# Step 1: Check out the repository | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Miniconda | ||
- name: Set up Miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
activate-environment: test_env | ||
|
||
# Step 3: Run all installation scripts for each Python version | ||
- name: Run installation scripts | ||
shell: bash -l {0} | ||
run: | | ||
for script in jarvis_leaderboard/installations/ES/*.sh; do | ||
# Extract script name to use as the environment name (without extension) | ||
env_name=$(basename "$script" .sh)-${{ matrix.python-version }} | ||
echo "Creating Conda environment: $env_name with Python ${{ matrix.python-version }}" | ||
conda create -n "$env_name" python=${{ matrix.python-version }} -y | ||
echo "Activating environment: $env_name" | ||
conda activate "$env_name" | ||
echo "Running $script" | ||
chmod +x "$script" | ||
bash "$script" || { echo "Error: $script failed"; exit 1; } | ||
echo "Deactivating environment: $env_name" | ||
conda deactivate | ||
echo "Removing environment: $env_name" | ||
conda env remove -n "$env_name" -y | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Test FF Installations | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] # Matrix with different Python versions | ||
steps: | ||
# Step 1: Check out the repository | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Miniconda | ||
- name: Set up Miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
activate-environment: test_env | ||
|
||
# Step 3: Run all installation scripts for each Python version | ||
- name: Run installation scripts | ||
shell: bash -l {0} | ||
run: | | ||
for script in jarvis_leaderboard/installations/FF/*.sh; do | ||
# Extract script name to use as the environment name (without extension) | ||
env_name=$(basename "$script" .sh)-${{ matrix.python-version }} | ||
echo "Creating Conda environment: $env_name with Python ${{ matrix.python-version }}" | ||
conda create -n "$env_name" python=${{ matrix.python-version }} -y | ||
echo "Activating environment: $env_name" | ||
conda activate "$env_name" | ||
echo "Running $script" | ||
chmod +x "$script" | ||
bash "$script" || { echo "Error: $script failed"; exit 1; } | ||
echo "Deactivating environment: $env_name" | ||
conda deactivate | ||
echo "Removing environment: $env_name" | ||
conda env remove -n "$env_name" -y | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Test QC Installations | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] # Matrix with different Python versions | ||
steps: | ||
# Step 1: Check out the repository | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Miniconda | ||
- name: Set up Miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
activate-environment: test_env | ||
|
||
# Step 3: Run all installation scripts for each Python version | ||
- name: Run installation scripts | ||
shell: bash -l {0} | ||
run: | | ||
for script in jarvis_leaderboard/installations/QC/*.sh; do | ||
# Extract script name to use as the environment name (without extension) | ||
env_name=$(basename "$script" .sh)-${{ matrix.python-version }} | ||
echo "Creating Conda environment: $env_name with Python ${{ matrix.python-version }}" | ||
conda create -n "$env_name" python=${{ matrix.python-version }} -y | ||
echo "Activating environment: $env_name" | ||
conda activate "$env_name" | ||
echo "Running $script" | ||
chmod +x "$script" | ||
bash "$script" || { echo "Error: $script failed"; exit 1; } | ||
echo "Deactivating environment: $env_name" | ||
conda deactivate | ||
echo "Removing environment: $env_name" | ||
conda env remove -n "$env_name" -y | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
"""Version number.""" | ||
__version__ = "2024.7.26" | ||
__version__ = "2024.10.10" |
2 changes: 2 additions & 0 deletions
2
jarvis_leaderboard/installations/QC/qiskit_linux_pip_colab.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pip install jarvis-tools==2021.7.10 qiskit-terra==0.18.0 qiskit-aer==0.8.2 numpy==1.19.5 matplotlib==3.2.2 requests==2.23.0 scipy==1.4.1 joblib==1.0.1 tqdm==4.41.1 toolz==0.11.1 xmltodict==0.12.0 qiskit-terra==0.18.0 qiskit-aer==0.8.2 qiskit-ibmq-provider==0.15.0 qiskit-ignis==0.6.0 qiskit-aqua==0.9.4 | ||
# Example: https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/JARVIS_LAMMPS_tutorial.ipynb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name="jarvis_leaderboard", # Replace with your own username | ||
version="2024.7.26", | ||
version="2024.10.10", | ||
author="Kamal Choudhary", | ||
author_email="[email protected]", | ||
description="jarvis_leaderboard", | ||
|