Coder Social home page Coder Social logo

training's Issues

SeisSol crashes with `Illegal instruction`

We've tried to run the training docker with Manel Prada at Barcelona, and we got unexpected errors when running SeisSol.
We used:
docker pull seissol/training:pr-23

cpuinfo:

processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 42
model name    : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping    : 7
microcode    : 0x2f
cpu MHz        : 3210.242
cache size    : 6144 KB
physical id    : 0
siblings    : 4
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips    : 6219.84
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

Error: Illegal instruction (core dumped)

Docker: int64 support for ParMetis

Hi,

I used these lines for one of my images

Training/Dockerfile

Lines 52 to 58 in 647b0d9

RUN wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz \
&& tar -xvf parmetis-4.0.3.tar.gz \
&& cd parmetis-4.0.3 \
&& CC=mpicc CXX=mpicxx make config prefix=/home/tools \
&& make -j4 && make install \
&& cp build/Linux-x86_64/libmetis/libmetis.a /home/tools/lib \
&& cp metis/include/metis.h /home/tools/include

I experienced some problem with integer overflow

This is a remedy:
sed -i 's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g' ./metis/include/metis.h

It needs to be added after cd parmetis-4.0.3

Training notebook `tpv13` does not run inside docker container

Training notebook tpv13 does not run inside docker container. Specifically this is the visualisation with Paraview part.

Here the command is

docker cp my_docker:/home/training/tpv13/my_output .

Adding the ! needed for calling the bash script:

docker cp my_docker:/home/training/tpv13/my_output .

gives output:

/bin/bash: line 1: docker: command not found

Maybe the docker container does not include docker?

The parameter.par are not 100% up to date and could be cleaned out

E.g.:

Tue May 21 08:32:38, Info:  In your parameter file, you have specified a non-positive interval for "checkpointinterval" . This mechanism is deprecated and may be removed in a future version of SeisSol. Consider disabling the whole module by setting "checkpoint" to 0 instead by adding "checkpoint = 0" to the "output" section of your parameter file instead. 
Tue May 21 08:32:38, Info:  Disabling the wavefield output by setting "outputformat = 10" is deprecated and may be removed in a future version of SeisSol. Consider using the parameter "wavefieldoutput" instead. To disable wavefield output, add "wavefieldoutput = 0" to the "output" section of your parameters file. 
Tue May 21 08:32:38, Info:  The field "printintervalcriterion" is no longer in use. You may safely remove it from your parameters file. 
Tue May 21 08:32:38, Info:  The field "pickdttype" is no longer in use. You may safely remove it from your parameters file. 
Tue May 21 08:32:38, Info:  The field "faultoutputflag" is no longer in use. You may safely remove it from your parameters file. 
Tue May 21 08:32:38, Info:  The field "boundaries" is no longer in use. You may safely remove it from your parameters file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.