Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EELS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Karl-Michael Schindler
EELS2
Commits
c6cccd87
Commit
c6cccd87
authored
6 months ago
by
Karl-Michael Schindler
Browse files
Options
Downloads
Patches
Plain Diff
Create DEVELOPER NOTES
parent
c0596dfb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/f90/DEVELOPER NOTES
+34
-0
34 additions, 0 deletions
source/f90/DEVELOPER NOTES
with
34 additions
and
0 deletions
source/f90/DEVELOPER NOTES
0 → 100644
+
34
−
0
View file @
c6cccd87
This is the new version of inputs and uses yaml input files. There are differences to the original eelsin/bosin input files.
*** YAML input ***
The input of yaml files uses the package fortran-yaml-c from:
https://github.com/Nicholaswogan/fortran-yaml-c
This is a fortran interface to the common C-library libyaml.
The package needs libyaml, gfortran and cmake and is build from sources with these commands:
mkdir build
cd build
cmake ..
cmake --build .
Among others, it creates these files:
fortran_yaml_c_interface.mod fortran_yaml_c_interface.f90.o fortran_yaml_c_types.mod fortran_yaml_c_types.f90.o fortran_yaml_c.mod fortran_yaml_c.f90.o libyaml_interface.c.o
Search for and copy them to your preferred location. If you like, you can also remove the .f90 and .c from the names.
Compile your source with a correspondingly adjusted command:
gfortran libyaml_interface.o fortran_yaml_c_interface.o fortran_yaml_c_types.o fortran_yaml_c.o -lyaml -L/opt/local/lib -o test test.f90
Or do it in a Makefile.
In the fortran file add
use fortran_yaml_c
For the details of usage, check out example.f90 and test_yaml.f90 in fortran-yaml-c/tests.
\ No newline at end of file
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