Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
FSL
base
Commits
043fe3a2
Commit
043fe3a2
authored
4 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Plain Diff
Merge branch 'mnt/devel-base-environment' into 'master'
Mnt/devel base environment Closes
#1
and
#2
See merge request
!6
parents
6d2d6257
5ebc3430
No related branches found
No related tags found
1 merge request
!6
Mnt/devel base environment
Pipeline
#7009
passed
4 years ago
Stage: test
Stage: fsl-ci-deploy
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+28
-1
28 additions, 1 deletion
CHANGELOG.md
etc/fslconf/fsl-devel.sh
+31
-5
31 additions, 5 deletions
etc/fslconf/fsl-devel.sh
etc/fslconf/fsl.sh
+50
-20
50 additions, 20 deletions
etc/fslconf/fsl.sh
with
109 additions
and
26 deletions
CHANGELOG.md
+
28
−
1
View file @
043fe3a2
# FSL base project changelog
# FSL base project changelog
## 2101.3 (Thursday 14th January 2021)
## 2101.0 (Monday 4th January 2020)
-
The
`$FSLDIR/etc/fslconf/fsl.sh`
script now automatically adds
`$FSLDIR/share/fsl/bin/`
to the
`$PATH`
, for official
(
`fslinstaller`
-installed) FSL installations.
-
The
`$FSLDIR/etc/fslconf/fsl-devel.sh`
script now activates the
`$FSLDIR`
conda environment, for official (
`fslinstaller`
-installed) FSL
installations.
-
The
`$FSLDIR/etc/fslconf/fsl-devel.sh`
script now assigns default values
to
`$FSLDEVDIR`
and
`$FSLCONFDIR`
, if they are not set by the user.
## 2101.2 (Friday 8th January 2021)
-
Removed the legacy
`bin/fsl_sub`
script -
`fsl-sub`
is now available on
conda, so can be listed as a dependency of the
`fsl/base`
project.
## 2101.1 (Tuesday 5th January 2021)
-
Move contents of
`config/common/`
into
`config/`
- there is no need for
a separate directory level now that we aren't maintaining separate
configurations for different architectures/compilers.
-
The default C++ compilation standard is now
`-std=c++11`
(previously
it was
`-std=c++98`
/
`-ansi`
).
-
Allow projects to set custom C preprocessor flags, via
`USRCPPFLAGS`
.
## 2101.0 (Monday 4th January 2021)
-
Moved the copyright insertion machinery (script and templates) from
-
Moved the copyright insertion machinery (script and templates) from
`config/common/`
into
`share/fsl/`
.
`config/common/`
into
`share/fsl/`
.
...
...
This diff is collapsed.
Click to expand it.
etc/fslconf/fsl-devel.sh
+
31
−
5
View file @
043fe3a2
# FSL configuration file for developers
# FSL configuration file for developers
# - to be sourced by the user, typically in .bashrc or equivalent
#
#
# Written by Mark Jenkinson
# This file must be sourced in order to compile
# FMRIB Analysis Group, University of Oxford
# Makefile-based FSL projects.
#
# $FSLDIR must be set before this script is called.
#
# Standard environment configuration for developing FSL is:
# export FSLDIR=/usr/local/fsl
# source $FSLDIR/etc/fslconf/fsl-devel.sh
#
# SHBASECOPYRIGHT
# SHBASECOPYRIGHT
FSLCONFDIR
=
$FSLDIR
/config
export
FSLCONFDIR
# If this is an official (fslinstaller-installed)
# FSL installation, we activate the $FSLDIR conda
# environment so that we have access to its compiler
# toolchain (if one is installed).
if
[
-f
"
$FSLDIR
/share/fsl/base_environment"
]
;
then
baseenv
=
$(
cat
"
$FSLDIR
/share/fsl/base_environment"
)
source
$baseenv
/bin/activate
$FSLDIR
fi
# FSLCONFDIR contains the FSL Makefile machinery
# for compiling and installing FSL Makefile-based
# projects.
if
[
!
-d
"
$FSLCONFDIR
"
]
;
then
export
FSLCONFDIR
=
$FSLDIR
/config
fi
# FSLDEVDIR is an optional installation destination
# for development, so that locally built projects
# can be installed separately from FSLDIR.
if
[
!
-d
"
$FSLDEVDIR
"
]
;
then
export
FSLDEVDIR
=
$FSLDIR
fi
source
$FSLDIR
/etc/fslconf/fsl.sh
source
$FSLDIR
/etc/fslconf/fsl.sh
This diff is collapsed.
Click to expand it.
etc/fslconf/fsl.sh
+
50
−
20
View file @
043fe3a2
# FSL configuration file
# FSL configuration file
# - to be sourced by the user, typically in .bashrc or equivalent
# - to be sourced by the user, typically in .bashrc or equivalent
#
#
# $FSLDIR must be set before this script is called.
#
# Standard environment configuration for using FSL is:
# export FSLDIR=/usr/local/fsl
# source $FSLDIR/etc/fslconf/fsl.sh
#
# See fsl-devel.sh if you are a developer.
#
# Written by Mark Jenkinson
# Written by Mark Jenkinson
# FMRIB Analysis Group, University of Oxford
# FMRIB Analysis Group, University of Oxford
...
@@ -9,42 +17,64 @@
...
@@ -9,42 +17,64 @@
#### Set up standard FSL user environment variables ####
#### Set up standard FSL user environment variables ####
# If this is an official (fslinstaller-installed)
# FSL installation, wrappers to FSL executables
# will have been created in $FSLDIR/share/fsl/bin/
# We add this to the $PATH, rather than adding
# $FSLDIR/bin/ to the path, to avoid clobbering
# the user's environment with other executalbes
# that have been installed into $FSLDIR/bin/ (e.g.
# python).
#
# The fslinstaller creates a file called
# base_environment when it installs official
# FSL installations.
#
# If this is a manually managed installation, it
# is the user's responsibility to add $FSLDIR/bin
# to the $PATH
if
[
-f
"
$FSLDIR
/share/fsl/base_environment"
]
;
then
export
PATH
=
$FSLDIR
/share/fsl/bin:
$PATH
fi
# The following variable selects the default output image type
# The following variable selects the default output image type
# Legal values are: ANALYZE NIFTI NIFTI_PAIR ANALYZE_GZ NIFTI_GZ NIFTI_PAIR_GZ
# Legal values are:
# NIFTI
# NIFTI2
# NIFTI_PAIR
# NIFTI2_PAIR
# NIFTI_GZ
# NIFTI2_GZ
# NIFTI_PAIR_GZ
# NIFTI2_PAIR_GZ
#
# This would typically be overwritten in ${HOME}/.fslconf/fsl.sh if the user wished
# This would typically be overwritten in ${HOME}/.fslconf/fsl.sh if the user wished
# to write files with a different format
# to write files with a different format
FSLOUTPUTTYPE
=
NIFTI_GZ
export
FSLOUTPUTTYPE
=
NIFTI_GZ
export
FSLOUTPUTTYPE
# Comment out the definition of FSLMULTIFILEQUIT to enable
# Comment out the definition of FSLMULTIFILEQUIT to enable
#
FSL programs to soldier on after detecting multiple image
# FSL programs to soldier on after detecting multiple image
#
files with the same basename ( e.g. epi.hdr and epi.nii )
# files with the same basename ( e.g. epi.hdr and epi.nii )
FSLMULTIFILEQUIT
=
TRUE
;
export
FSLMULTIFILEQUIT
export
FSLMULTIFILEQUIT
=
TRUE
# The following variables specify paths for programs and can be changed
# The following variables specify paths for programs and can be changed
# or replaced by different programs ( e.g. FSLDISPLAY=open for MacOSX)
# or replaced by different programs
FSLTCLSH
=
$FSLDIR
/bin/fsltclsh
FSLWISH
=
$FSLDIR
/bin/fslwish
export
FSLTCLSH FSLWISH
export
FSLTCLSH
=
$FSLDIR
/bin/fsltclsh
export
FSLWISH
=
$FSLDIR
/bin/fslwish
# The following variables are used for running code in parallel across
# The following variables are used for running code in parallel across
# several machines ( i.e. for FDT )
# several machines ( i.e. for FDT )
FSLLOCKDIR
=
export
FSLLOCKDIR
=
FSLMACHINELIST
=
export
FSLMACHINELIST
=
FSLREMOTECALL
=
export
FSLREMOTECALL
=
export
FSLLOCKDIR FSLMACHINELIST FSLREMOTECALL
# The following variables are used to configure CUDA capable queues - if you
# The following variables are used to configure CUDA capable queues - if you
# are using Grid Engine then this queue will be used to enqueue tasks that
# are using Grid Engine then this queue will be used to enqueue tasks that
# support execution on NVIDIA CUDA hardware.
# support execution on NVIDIA CUDA hardware.
FSLGECUDAQ
=
cuda.q
export
FSLGECUDAQ
=
cuda.q
export
FSLGECUDAQ
###################################################
###################################################
...
...
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