From f8c857d7ea505f8bcaa61ebfe0437076bbea3ac6 Mon Sep 17 00:00:00 2001 From: Xuanyao Fong Date: Thu, 7 Apr 2022 14:36:40 +0800 Subject: [PATCH] cleanup round 1 --- kernels_src/Makefile | 2 +- opencl/Makefile | 2 +- opencl64/Makefile | 2 +- test/httpfstest.bash | 2 +- test/outputformat.mx3 | 10 +++++----- test/racetest.bash | 6 +++--- test/run.bash | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/kernels_src/Makefile b/kernels_src/Makefile index 68ee1ed..1a3db7c 100644 --- a/kernels_src/Makefile +++ b/kernels_src/Makefile @@ -1,4 +1,4 @@ -# Builds mumax3 opencl kernels and create GO wrappers +# Builds uMagNUS opencl kernels and create GO wrappers SHELL = /bin/bash diff --git a/opencl/Makefile b/opencl/Makefile index 5e72521..ab90ce4 100644 --- a/opencl/Makefile +++ b/opencl/Makefile @@ -1,4 +1,4 @@ -# Builds mumax3 opencl kernels and create GO wrappers +# Builds uMagNUS opencl kernels and create GO wrappers SHELL = /bin/bash diff --git a/opencl64/Makefile b/opencl64/Makefile index 3c19d8a..56522fc 100644 --- a/opencl64/Makefile +++ b/opencl64/Makefile @@ -1,4 +1,4 @@ -# Builds mumax3 opencl kernels and create GO wrappers +# Builds uMagNUS opencl kernels and create GO wrappers SHELL = /bin/bash diff --git a/test/httpfstest.bash b/test/httpfstest.bash index 9adf9c4..1048a91 100755 --- a/test/httpfstest.bash +++ b/test/httpfstest.bash @@ -4,7 +4,7 @@ rm -rf *.out http\: killall mumax3cl-httpfsd mumax3cl-httpfsd -l :35377 & sleep 1s -mumax3cl $(for f in *.mx3; do echo -n ' ' http://localhost:35377/$f; done) || exit 1 +uMagNUS $(for f in *.mx3; do echo -n ' ' http://localhost:35377/$f; done) || exit 1 killall mumax3cl-httpfsd if [ -e http\: ]; then echo "http:" exists diff --git a/test/outputformat.mx3 b/test/outputformat.mx3 index 131754e..860ef11 100644 --- a/test/outputformat.mx3 +++ b/test/outputformat.mx3 @@ -12,18 +12,18 @@ m = uniform(1, .1, 0) steps(1) outputformat = OVF1_TEXT -saveas(m, sprintf("mumax_ovf1_text")) +saveas(m, sprintf("umagnus_ovf1_text")) outputformat = OVF1_BINARY -saveas(m, sprintf("mumax_ovf1_binary")) +saveas(m, sprintf("umagnus_ovf1_binary")) outputformat = OVF2_TEXT -saveas(m, sprintf("mumax_ovf2_text")) +saveas(m, sprintf("umagnus_ovf2_text")) step=4 outputformat = OVF2_BINARY -saveas(m, sprintf("mumax_ovf2_binary")) +saveas(m, sprintf("umagnus_ovf2_binary")) step=5 outputformat = DUMP -saveas(m, sprintf("mumax_dump")) \ No newline at end of file +saveas(m, sprintf("umagnus_dump")) diff --git a/test/racetest.bash b/test/racetest.bash index 131f41f..08022a1 100755 --- a/test/racetest.bash +++ b/test/racetest.bash @@ -4,13 +4,13 @@ set -e -go install -race github.com/mumax/3cl/cmd/mumax3cl +go install -race github.com/seeder-research/uMagNUS/cmd/uMagNUS google-chrome http://localhost:35367 & for f in *.mx3; do - mumax3cl $f + uMagNUS $f done -go install github.com/mumax/3cl/cmd/mumax3cl # re-build without race detector +go install github.com/seeder-research/uMagNUS/cmd/uMagNUS # re-build without race detector diff --git a/test/run.bash b/test/run.bash index a3c831a..7762100 100755 --- a/test/run.bash +++ b/test/run.bash @@ -2,7 +2,7 @@ set -e -mumax3cl -vet *.mx3 +uMagNUS -vet *.mx3 -mumax3cl -paranoid=false -failfast -cache /tmp -f -http "" *.go *.mx3 +uMagNUS -paranoid=false -failfast -cache /tmp -f -http "" *.go *.mx3