Commit 50be93d4 authored by Florian Wittkamp's avatar Florian Wittkamp

Additional minor changes

parent a23e3b49
clear all;
close all;
%%
runTime96=[100 100];
runTime192=[100 100];
runTime384=[100 100];
runTime768=[100 100];
runTime1536=[100 100];
runTime3000=[100 100];
mean96=mean(runTime96);
mean192=mean(runTime192);
mean384=mean(runTime384);
mean768=mean(runTime768);
mean1536=mean(runTime1536);
mean3000=mean(runTime3000);
speedUp=mean96./[mean96 mean192 mean384 mean768 mean1536 mean3000];
speedUpLinear=[1 2 4 8 16 31.25];
numCores=[96 192 384 768 1536 3000];
%% Plotting
figure
measured=plot(numCores,speedUp,'-o','LineWidth',2);
hold on
theo=plot(numCores,speedUpLinear,'LineWidth',2);
xlabel('Number of Cores')
ylabel('rel. SpeedUp bezogen auf 96 CPUs')
ld=legend([measured,theo],'Measured JURECA','Linear');
ld.Location='northwest';
title('JURECA')
ld.FontSize=16;
ax=gca;
ax.FontSize=16;
\ No newline at end of file
......@@ -9,9 +9,8 @@
#SBATCH --partition=batch
# Load modules
module load CMake
module load GCC/5.4.0
module load MVAPICH2/2.2-GDR
# Run
srun ./../../bin/SOFI3D sofi3D_48.json
srun ./../../bin/sofi3D sofi3D_48.json
......@@ -49,10 +49,10 @@ void model_elastic(float *** rho, float *** pi, float *** u,
/*-----------------material property definition -------------------------*/
/* parameters for layer 1 */
const float vp1=3500.0, vs1=2000.0, rho1=2000.0, h=100000.0;
const float vp1=3500.0, vs1=2500.0, rho1=2000.0, h=100000.0;
/* parameters for layer 2 */
const float vp2=3500.0, vs2=2000.0, rho2=2000.0;
const float vp2=3500.0, vs2=2500.0, rho2=2000.0;
if (WRITE_MODELFILES==1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment