forked from hyschive/gamer-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hyschive:main' into autocomplete
- Loading branch information
Showing
118 changed files
with
689 additions
and
350 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
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,6 +1,6 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Center \ | ||
GRACKLE_INFO Record__DivB Record__Hybrid |
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,6 +1,6 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Center \ | ||
GRACKLE_INFO Record__DivB Record__Hybrid |
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,9 +1,17 @@ | ||
filename=disk-heating-ic | ||
#!/bin/bash | ||
|
||
curl https://girder.hub.yt/api/v1/item/6645cffcff473673ea91b24d/download -o ${filename}.tgz | ||
tar -zxvf ${filename}.tgz | ||
rm ${filename}.tgz | ||
ln -s ${filename}/UM_IC_0.4_M7 UM_IC | ||
ln -s ${filename}/PAR_IC_0.4_M7_low_res DiskHeatingParticleIC | ||
LOCAL_FILENAME="disk-heating-ic" | ||
FILE_ID="677dd2d0999605c485c8de8f" | ||
FILE_SHA256="5c981ffe1f0cd85237b51e9e2872e8047dad8a87e0419575255e4c1d5d8cf17a" | ||
|
||
# 1 download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}.tgz" | ||
|
||
# 2. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME}.tgz | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}.tgz" | ||
|
||
# 3. unzip and link | ||
tar -zxvf ${LOCAL_FILENAME}.tgz | ||
rm ${LOCAL_FILENAME}.tgz | ||
ln -s ${LOCAL_FILENAME}/UM_IC_0.4_M7 UM_IC | ||
ln -s ${LOCAL_FILENAME}/PAR_IC_0.4_M7_low_res DiskHeatingParticleIC |
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
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,5 +1,5 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance |
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,8 +1,15 @@ | ||
filename=HALO_IC_m22_1_Mh_4e9 | ||
link=https://girder.hub.yt/api/v1/item/65e5251f1613cd89a1dfe902/download | ||
#!/bin/bash | ||
|
||
LOCAL_FILENAME="HALO_IC_m22_1_Mh_4e9" | ||
FILE_ID="677cc8db999605c485c8de83" | ||
FILE_SHA256="acbd85842de65ff2360c7f3a1d1101c6f4f8939f430c3f61b8bc5f6f9a72fe94" | ||
|
||
curl ${link} -o ${filename} | ||
# 1. download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}" | ||
|
||
ln -s ${filename} HALO_IC_Halo1 | ||
ln -s ${filename} HALO_IC_Halo2 | ||
# 2. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME} | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}" | ||
|
||
# 3. link | ||
ln -s ${LOCAL_FILENAME} HALO_IC_Halo1 | ||
ln -s ${LOCAL_FILENAME} HALO_IC_Halo2 |
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,5 +1,5 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Hybrid |
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,8 +1,16 @@ | ||
filename=UM_IC_run05-halo08-lv4 | ||
link=https://use.yt/upload/d75aa595 | ||
#!/bin/bash | ||
|
||
curl -L ${link} -o ${filename}.tgz | ||
tar -zxvf ${filename}.tgz | ||
rm ${filename}.tgz | ||
LOCAL_FILENAME="UM_IC_run05-halo08-lv4" | ||
FILE_ID="677cbad6999605c485c8de77" | ||
FILE_SHA256="7ed91ba48a9aec139e0574629b689090ae43496fb957c6822c7ec1bd1217e22e" | ||
|
||
ln -s ${filename} UM_IC | ||
# 1. download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}.tgz" | ||
|
||
# 2. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME}.tgz | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}.tgz" | ||
|
||
# 3. unzip and link | ||
tar -zxvf ${LOCAL_FILENAME}.tgz | ||
rm ${LOCAL_FILENAME}.tgz | ||
ln -s ${LOCAL_FILENAME} UM_IC |
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
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,5 +1,5 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Hybrid |
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,5 +1,14 @@ | ||
filename=Music_InitCondition_z3200_L1.4_N0256_s1002 | ||
link=https://use.yt/upload/4dec54c9 | ||
#!/bin/bash | ||
|
||
curl -L ${link} -o ${filename} | ||
ln -s ${filename} UM_IC | ||
LOCAL_FILENAME="Music_InitCondition_z3200_L1.4_N0256_s1002" | ||
FILE_ID="6780d8d6999605c485c8dea0" | ||
FILE_SHA256="114fd2a0d37e70ba7bd06907c878bd1c752ea76882ad1833af165696eef8cf9d" | ||
|
||
# 1. download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}" | ||
|
||
# 2. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME} | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}" | ||
|
||
# 3. link | ||
ln -s ${LOCAL_FILENAME} UM_IC |
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,5 +1,5 @@ | ||
rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Dump Record__MemInfo Record__L1Err \ | ||
Record__Conservation Data* stderr stdout log XYslice* YZslice* XZslice* Xline* Yline* Zline* \ | ||
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
Diag* Box* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \ | ||
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \ | ||
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Hybrid |
17 changes: 13 additions & 4 deletions
17
example/test_problem/ELBDM/LSS_Hybrid/download_heavy_halo_ic.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 |
---|---|---|
@@ -1,7 +1,16 @@ | ||
filename=Music_InitCondition_z99_L2.8_N0256_HeavyHalo | ||
link=https://use.yt/upload/4587e2e6 | ||
#!/bin/bash | ||
|
||
curl -L ${link} -o ${filename} | ||
ln -sf ${filename} UM_IC_wave_heavy | ||
LOCAL_FILENAME="Music_InitCondition_z100_L2.8_N0256_HeavyHalo" | ||
FILE_ID="6780d9d2999605c485c8dea9" | ||
FILE_SHA256="2f15920763e6189abd81b6f39fd283ebeeb6b6b90dbbce0eb898d098ef4b497d" | ||
|
||
# 1. download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}" | ||
|
||
# 2. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME} | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}" | ||
|
||
# 3. link | ||
ln -sf ${LOCAL_FILENAME} UM_IC_wave_heavy | ||
python3 elbdm_wave_to_hybrid_IC.py -input UM_IC_wave_heavy -output UM_IC_hybrid_heavy -resolution 256 | ||
ln -sf UM_IC_hybrid_heavy UM_IC |
21 changes: 16 additions & 5 deletions
21
example/test_problem/ELBDM/LSS_Hybrid/download_light_halo_ic.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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
filename=Music_InitCondition_z99_L2.8_N0064_LightHalo | ||
link=https://use.yt/upload/a67d8dd1 | ||
#!/bin/bash | ||
|
||
LOCAL_FILENAME="Music_InitCondition_z100_L2.8_N0064_LightHalo" | ||
FILE_ID="6780d97e999605c485c8dea6" | ||
FILE_SHA256="89e1626405e38e3bd756167e3c06719f193456aa8e7d210ddfd13246df0e1a91" | ||
|
||
# 1. clean | ||
rm UM_IC* | ||
curl -L ${link} -o ${filename} | ||
python3 elbdm_rescale_periodic_IC.py -input ${filename} -output Music_InitCondition_z99_L2.8_N0256_LightHalo -n_in 64 -n_out 256 | ||
ln -sf Music_InitCondition_z99_L2.8_N0256_LightHalo UM_IC_wave_light | ||
|
||
# 2. download | ||
curl https://hub.yt/api/v1/item/${FILE_ID}/download -o "${LOCAL_FILENAME}" | ||
|
||
# 3. compare sha256sum | ||
! [ `sha256sum ${LOCAL_FILENAME} | awk '{print $1}'` = "${FILE_SHA256}" ] && echo "File broken: ${LOCAL_FILENAME}" | ||
|
||
# 4. link | ||
python3 elbdm_rescale_periodic_IC.py -input ${LOCAL_FILENAME} -output Music_InitCondition_z100_L2.8_N0256_LightHalo -n_in 64 -n_out 256 | ||
ln -sf Music_InitCondition_z100_L2.8_N0256_LightHalo UM_IC_wave_light | ||
python3 elbdm_wave_to_hybrid_IC.py -input UM_IC_wave_light -output UM_IC_hybrid_light -resolution 256 | ||
ln -sf UM_IC_hybrid_light UM_IC |
Oops, something went wrong.