Skip to content

Commit

Permalink
cleanup round 1
Browse files Browse the repository at this point in the history
  • Loading branch information
xfong committed Apr 7, 2022
1 parent 4e64b35 commit f8c857d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion kernels_src/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builds mumax3 opencl kernels and create GO wrappers
# Builds uMagNUS opencl kernels and create GO wrappers

SHELL = /bin/bash

Expand Down
2 changes: 1 addition & 1 deletion opencl/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builds mumax3 opencl kernels and create GO wrappers
# Builds uMagNUS opencl kernels and create GO wrappers

SHELL = /bin/bash

Expand Down
2 changes: 1 addition & 1 deletion opencl64/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Builds mumax3 opencl kernels and create GO wrappers
# Builds uMagNUS opencl kernels and create GO wrappers

SHELL = /bin/bash

Expand Down
2 changes: 1 addition & 1 deletion test/httpfstest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions test/outputformat.mx3
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
saveas(m, sprintf("umagnus_dump"))
6 changes: 3 additions & 3 deletions test/racetest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

4 changes: 2 additions & 2 deletions test/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f8c857d

Please sign in to comment.