-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Garcia-Castellanos
committed
Mar 16, 2021
0 parents
commit d634b93
Showing
250 changed files
with
448,104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#----------------------------- tao makefile ----------------------------- | ||
# | ||
#Modify options in ./config.mk | ||
# | ||
#Type 'make' in this directory to compile tao | ||
# | ||
#tao has been succesfully compiled with this Makefile in: | ||
# ·iOS 11 | ||
# ·IBM AIX Version 3.2 for IBM RISC 6000 workstations. | ||
# ·Linux for pentium processor. | ||
# ·Hewlett Packard Envizex. | ||
# ·Sun Solaris OS5 | ||
#------------------------------------------------------------------------ | ||
|
||
include config.mk | ||
|
||
all: | ||
(cd src; make) | ||
@echo; echo; echo Compilation succeeded! | ||
@(echo "ADD TO YOUR PATH: `pwd`/bin/ AND `pwd`/script/") | ||
@(echo "ADD IN .cshrc: setenv tao_dir `pwd` ") | ||
@(echo "ADD IN .bashrc: export tao_dir=`pwd` ") | ||
|
||
clean_for_tar: | ||
(cd src; make clean) | ||
rm -f src/*.o lib/libreria.o lib/libreria.a | ||
|
||
tao: | ||
(cd src; make tao) | ||
|
||
|
||
vers: clean_for_tar | ||
rm -R -f tao tao_version | ||
mkdir tao tao/bin | ||
cp -R -L Makefile config.mk README demo doc include lib script src tao | ||
rm -f tao/doc/.first_compilation.txt #tao/lib/sistbanda* version_tmp/lib/surf_proc* version_tmp/lib/thin_sheet* | ||
rm -r -f tao/demo/Andes | ||
tar -chf tao.tar tao | ||
gzip -f tao.tar | ||
echo "UPLOADING to github." | ||
touch tao/bin/touch_something #needed by git add | ||
mv tao tao_version | ||
(cd tao_version; git init; git remote add tao https://github.com/danigeos/tao-geo; git add .; git commit -a -mnewVersion; git push -u -f tao master) | ||
|
||
|
||
upload_version_starting_from_scratch: | ||
#(git init; git remote add tao https://github.com/danigeos/tao-geo; git add Makefile README bin config.mk demo doc include lib script src; git commit -a -mnewVersion; git push -u -f tao master) | ||
|
||
|
||
upload: | ||
#for initialization: | ||
#git init; git remote add tao https://github.com/danigeos/tao-geo; git add Makefile README config.mk bin demo doc include lib script src; git rm --cached doc/.first_compilation.txt | ||
git commit -a | ||
git push tao master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
******************************************************************************** | ||
************* tAo README file **************** | ||
****** 1D (PSEUDO-2D, VERTICAL CROSS-SECTION) MODELLING OF ******* | ||
****** FLEXURAL ISOSTASY, EROSION, ******* | ||
****** OROGRAPHIC PRECIPITATION, AND FORELAND BASIN ******* | ||
****** FORMATION USING FINITE DIFFERENCES ******* | ||
******************************************************************************** | ||
|
||
tAo is a C program for Linux to calculate the flexure of the lithosphere and, | ||
more in general, to numerically simulate the formation of foreland basins in | ||
pseudo 2D (vertical cross section). | ||
The pseudo 3D version of tAo is called TISC and distributed apart. | ||
|
||
Main author: Daniel Garcia-Castellanos (CSIC) | ||
Details on authorship, disclaimers, and citation in 'tisc/doc/tisc.info.txt'. | ||
License details in the documentation at tao/doc/. | ||
|
||
|
||
TO INSTALL tAo: | ||
|
||
tAo has been developed in C under Linux, and is ready for compilation in a Mac | ||
Linux environment. | ||
|
||
-Uncompress the downloaded file in a directory 'tao/'. | ||
|
||
-Check the compiling options in 'tao/config.mk'. | ||
|
||
-Compile typing 'make' in the main directory. This will create the executable | ||
tao in the bin/ directory. You should put tao/bin/ and tao/script/ in your path | ||
and define the tao_dir variable in your environment. | ||
|
||
-Preferably install GMT 4 (free-ware software, used for graphic output) and put | ||
its bin/ directory in your path. This should work: | ||
sudo apt-get update | ||
sudo apt-get install gmt ksh csh tofrodos | ||
|
||
-Try examples of how to run tAo in the directory 'tao/demo/'. This will allow | ||
you to be sure that the code is working properly. Check that the graphic | ||
output is correctly produced in the postscript output files (*.ps). | ||
|
||
|
||
-Read the 'doc/tao.info.txt' file to know more about how to use tAo. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#------------------------------------------------------------------------ | ||
#You may need to modify these variables | ||
CC = gcc #gcc cc | ||
LIBS = -L$(LIB) -lm -lc | ||
#Options depending on the compiler: | ||
OPTS_mac = -g -w #-Wuninitialized | ||
OPTS_linux = ($OPTS_mac) | ||
OPTS_AIX_RS6000 = -g -O3 #-Q -qsrcmsg #-v | ||
OPTS_SUN = -g #-O3 #-xO5 #-O #Sometimes Sun OS has obscure segmentation problems with -O (like those in grav. anom.) | ||
#Choose your system: | ||
OPTS = $(OPTS_mac) | ||
#------------------------------------------------------------------------ | ||
|
||
|
Binary file not shown.
Binary file not shown.
Oops, something went wrong.