drop support for parallel marc versions

can still be handled by the user, but is a niche use case
This commit is contained in:
Martin Diehl 2020-07-18 09:51:53 +02:00
parent e1b018c47a
commit 4860f9c9ce
7 changed files with 4 additions and 9 deletions

6
env/CONFIG vendored
View File

@ -1,5 +1,5 @@
# "set"-syntax needed only for tcsh (but works with bash and zsh)
set DAMASK_NUM_THREADS = 4
set DAMASK_NUM_THREADS = 4
set MSC_ROOT = /opt/msc
set MARC_VERSION = 2019.1
set MSC_ROOT = /opt/msc
set MARC_VERSION = 2019.1

View File

@ -3,7 +3,6 @@ from pathlib import Path
class Environment:
# ToDo: Probably, we don't need a class (just a module with a few functions)
def __init__(self):
"""Do Nothing."""
pass

View File

@ -49,7 +49,7 @@ class Marc:
):
usersub = damask.environment.root_dir/Path(f'src/DAMASK_marc{self.version}')
usersub = damask.environment.root_dir/'src/DAMASK_marc'
usersub = usersub.parent/(usersub.name + ('.f90' if compile else '.marc'))
if not usersub.is_file():
raise FileNotFoundError("DAMASK4Marc ({}) '{}' not found".format(('source' if compile else 'binary'),usersub))

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90