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
ac88a9e8
Commit
ac88a9e8
authored
9 months ago
by
kamischi
Browse files
Options
Downloads
Patches
Plain Diff
fix libgfortran reference for macOS
parent
b743c49c
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/Makefile
+21
-2
21 additions, 2 deletions
source/f90/Makefile
with
21 additions
and
2 deletions
source/f90/Makefile
+
21
−
2
View file @
ac88a9e8
...
...
@@ -16,6 +16,9 @@ endif
# python3 interpreter
PYTHON3
=
python3
# Platform, i.e. operating system
OS
:=
$(
shell
echo
`
uname
-s
`
)
# implicit rules for compiling fortran files
%.o
:
%.f90 ; $(FC) $(FFLAGS) -c $<
%_mod.mod
:
%.f90 ; $(FC) $(FFLAGS) -c $<
...
...
@@ -79,11 +82,27 @@ eels-boson: eels-boson.f90 get_commandline_options.o $(getoptsubs) $(getoptmods)
pylibs
:
doeels-py doboson-py
doeels-py
:
doeels.f90 quanc8.f90 surlos.f90 fint1.f90 fint2.f90 fint3.f90 queels.f90 phint.f90 qrat.f90 usurlo.f90 param.f90 oscillatorType.f90
$(
PYTHON3
)
-m
numpy.f2py
-c
seteps.f90 doeels.f90 quanc8.f90 surlos.f90 fint1.f90 fint2.f90 fint3.f90 queels.f90 phint.f90 qrat.f90 usurlo.f90 param.f90 oscillatorType.f90
-m
doeels
doeels-py
:
doeels.f90 quanc8.f90 surlos.f90 fint1.f90 fint2.f90 fint3.f90 queels.f90 phint.f90 qrat.f90 usurlo.f90 param.f90 oscillatorType.f90 fun.f90
ifeq
($(OS),Darwin)
$(
PYTHON3
)
-m
numpy.f2py
-c
seteps.f90 doeels.f90 quanc8.f90 surlos.f90 fint1.f90 fint2.f90 fint3.f90 queels.f90 phint.f90 qrat.f90 usurlo.f90 param.f90 oscillatorType.f90 fun.f90
-m
doeels
install_name_tool
-change
@rpath/libgfortran.5.dylib /opt/local/lib/libgcc/libgfortran.5.dylib doeels.cpython-312-darwin.so
else
$(
PYTHON3
)
-m
numpy.f2py
-c
seteps.f90 doeels.f90 quanc8.f90 surlos.f90 fint1.f90 fint2.f90 fint3.f90 queels.f90 phint.f90 qrat.f90 usurlo.f90 param.f90 oscillatorType.f90 fun.f90
-m
doeels
endif
doboson-py
:
doboson.f90 sicot.f90 sintr.f90 rcffi.f90 respon.f90 o.f90
ifeq
($(OS),Darwin)
$(
PYTHON3
)
-m
numpy.f2py
-c
o.f90 sintr.f90 rcffi.f90 respon.f90 sicot.f90 doboson.f90
-m
doboson
install_name_tool
-change
@rpath/libgfortran.5.dylib /opt/local/lib/libgcc/libgfortran.5.dylib doboson.cpython-312-darwin.so
else
$(
PYTHON3
)
-m
numpy.f2py
-c
o.f90 sintr.f90 rcffi.f90 respon.f90 sicot.f90 doboson.f90
-m
doboson
endif
mytest
:
echo
$(
OS
)
ifeq
( $(OS), Darwin )
echo
$(
OS
)
endif
clean
:
rm
-f
*
.o
...
...
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