Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScalFMM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
ScalFMM
Commits
152f5db4
Commit
152f5db4
authored
11 years ago
by
Olivier COULAUD
Browse files
Options
Downloads
Patches
Plain Diff
Add scripts to check peridic systems
parent
015740c3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Utils/scripts/fmmper.sh
+37
-0
37 additions, 0 deletions
Utils/scripts/fmmper.sh
Utils/scripts/plotper.gnu
+11
-0
11 additions, 0 deletions
Utils/scripts/plotper.gnu
with
48 additions
and
0 deletions
Utils/scripts/fmmper.sh
0 → 100755
+
37
−
0
View file @
152f5db4
#!/bin/bash
#
#PBS -N MG_water
#
# preciser le temps en heures, minutes, secondes
#PBS -l walltime=01:59:00
# nombre de noeuds et de coeurs
#PBS -l nodes=1:ppn=12
#PBS -l naccesspolicy=singlejob
#
# PlaFRIM environment
w
source
$HOME
/.bashrc
#
FMMPER_EXE
=
"Tests/Release/testSphericalEwalAlgorithm"
FILE
=
"../Data/forceNacl_2000_dlpolyPer.txt"
FILE
=
"../Data/forceNacl_128_dlpolyPer.txt"
cd
~/Dev/src/ScalFMM/scalfmmT/BuildGCC
#
# RUN 1 influence de la taille de la boite sur la precision des calculs
# Regarde size, Nx ny nz energie total, dipole et le temps de calcul
#
PER_SIZE
=
"-1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18"
#
rm
-f
FMM_PER.out
echo
"# PerSize DOMAIN_SIZE ENERGY"
>
FMM_PER.out
pwd
for
l
in
$PER_SIZE
do
echo
"Running per = "
${
l
}
echo
"
$FMMPER_EXE
-f
$FILE
-h 4 -sh 2 -per
$l
>
$FILE
.out "
$FMMPER_EXE
-f
$FILE
-h
4
-sh
2
-per
$l
>
$FILE
.out
DOMAINSIZE
=
`
grep
"Simulated box:"
$FILE
.out |
awk
'{print $3}'
`
ENERGY
=
`
grep
"Energy FMM="
$FILE
.out |awk
'{ print $3 }'
`
echo
" "
$l
$DOMAINSIZE
" "
$ENERGY
" "
>>
FMM_PER.out
done
This diff is collapsed.
Click to expand it.
Utils/scripts/plotper.gnu
0 → 100644
+
11
−
0
View file @
152f5db4
#set terminal postscript enhanced color
#set output FMMEnergy.ps'
set key left
szt encoding iso_8859_1
set title "FMM Energy"
set xlabel "per size (per)"
set ylabel "Energy (kcal/mol)"
plot "FMM_PER.out" u ($1,$3) w l t "FMM Energy"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment