Skip to content

Instantly share code, notes, and snippets.

View carlosal1015's full-sized avatar
πŸ‡΅πŸ‡ͺ
Studying mathematics

Oromion carlosal1015

πŸ‡΅πŸ‡ͺ
Studying mathematics
View GitHub Profile
@carlosal1015
carlosal1015 / openfoam-com-env.log
Last active July 10, 2022 16:57
OpenFOAM-v2206 Arch Linux
WM_COMPILER=Gcc
CGAL_ARCH_PATH=/opt/OpenFOAM/OpenFOAM-v2206/ThirdParty/platforms/linux64Gcc/cgal-system
HOSTNAME=a02e824d3296
FOAM_MPI=sys-openmpi
WM_PRECISION_OPTION=DP
WM_PROJECT_USER_DIR=/home/user/OpenFOAM/user-v2206
WM_MPLIB=SYSTEMOPENMPI
FOAM_RUN=/home/user/OpenFOAM/user-v2206/run
PWD=/home/user
WM_OPTIONS=linux64GccDPInt32Opt
@carlosal1015
carlosal1015 / gist:82757f7a206dad1d56138fffc9dc83f4
Created June 13, 2022 16:42
scotch test are falling without openssh.
==> Making package: scotch 7.0.1-1 (Mon 13 Jun 2022 09:32:56 AM -05)
==> Retrieving sources...
-> Downloading scotch-v7.0.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
1 6678k 1 89377 0 0 143k 0 0:00:46 --:--:-- 0:00:46 143k
100 6678k 100 6678k 0 0 6029k 0 0:00:01 0:00:01 --:--:-- 6032k
==> Validating source files with sha256sums...
scotch-v7.0.1.tar.gz ... Passed
-> openmpi not satisfied, flushing install queue
@carlosal1015
carlosal1015 / 0001-GCC-12-compatibility.patch
Last active June 3, 2022 17:24
0001-GCC-12-compatibility.patch
From 7c6bf5008441ac308e4ff53fbbe6715a11dfc253 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20Aznar=C3=A1n=20Laos?= <[email protected]>
Date: Fri, 3 Jun 2022 12:23:04 -0500
Subject: [PATCH] GCC-12 compatibility
---
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
From db9a3c7e2062f0c466a72e4623ee47afffb4ae9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20Aznar=C3=A1n=20Laos?= <[email protected]>
Date: Mon, 10 Jul 2023 09:05:49 -0500
Subject: [PATCH] Enable options for work with preCICE
---
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/PKGBUILD b/PKGBUILD
@carlosal1015
carlosal1015 / python-plotly-log.txt
Created April 16, 2022 19:16
python-plotly-log
This file has been truncated, but you can view the full file.
2022-04-16T16:27:12.5586505Z #9 [build 2/2] RUN yay --noconfirm --noprogressbar -Syyuq python-plotly
2022-04-16T16:27:12.7113222Z #9 0.158 :: Synchronizing package databases...
2022-04-16T16:27:14.8151549Z #9 2.261 core downloading...
2022-04-16T16:27:14.8152187Z #9 2.261 extra downloading...
2022-04-16T16:27:14.8152960Z #9 2.261 community downloading...
2022-04-16T16:27:14.8153414Z #9 2.261 multilib downloading...
2022-04-16T16:27:14.8154250Z #9 2.261 :: Starting full system upgrade...
2022-04-16T16:27:15.0995428Z #9 ...
2022-04-16T16:27:15.0995605Z
2022-04-16T16:27:15.0998674Z #10 [stage-1 2/4] RUN ln -s /usr/share/zoneinfo/America/Lima /etc/localtime && sed -i 's/^#Color/Color/' /etc/pacman.conf && sed -i '/#CheckSpace/a ILoveCandy' /etc/pacman.conf && sed -i 's/^ParallelDownloads = 5/ParallelDownloads = 30/' /etc/pacman.conf && sed -i 's/^VerbosePkgLists/#VerbosePkgLists/' /etc/pacman.conf && sed -i 's/^#BUILDDIR/BUILDDIR/' /etc/makepkg.conf && sed -i 's/ usr\/share\/doc\/\*//g' /etc
@carlosal1015
carlosal1015 / slepc-3.16.2-logs-2022-4-4.txt
Created April 4, 2022 14:22
2022/4/4 slepc-3.16.2 logs
==> Making package: slepc 3.16.2-1 (Mon 04 Apr 2022 04:27:28 AM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (1) gcc-fortran-11.2.0-4
Total Download Size: 10.83 MiB
Total Installed Size: 28.90 MiB
:: Proceed with installation? [Y/n]
From ab21356a5f588e3050f5d75a8045373edf11c0c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20Aznar=C3=A1n=20Laos?= <[email protected]>
Date: Tue, 29 Mar 2022 11:04:26 -0500
Subject: [PATCH] The homepage is https://www.openfoam.com, according to
https://wiki.archlinux.org/title/PKGBUILD\#license, the license is GPL3
https://www.openfoam.com/documentation/licencing, finally for CGAL 5 or later
compatibility we could use standard 14, and support kahip (Karlsruhe HIGH
Quality Partitioning)
---
@carlosal1015
carlosal1015 / Readme.md
Last active March 28, 2022 21:41
paraview 5.10.1-1 [testing], now paraview 5.10.1-2

Vagrant box

Only paraview

Enable testing.

$ sudo pacman -Syyu paraview
@carlosal1015
carlosal1015 / compiling_OpenFOAM-4.x.md
Created March 20, 2022 18:23 — forked from joaoantoniocardoso/compiling_OpenFOAM-4.x.md
Compiling OpenFOAM-4.x at 2019 on Linux with ZSH, GCC 9.1

PROBLEM

I was trying to install Helix-OS on my Arch Linux at 2019 with ZSH and GCC 8.1 and because it is quite old it recommends OpenFOAM-4.1.

Naturally, there is no package for older OpenFOAM on AUR, so it need to be built from the sources and of course we have to solve some compatibility issues and here is a collection of fixes found on the internet :)

Get the sources

Note that using the folder names with sufix 4.1 for version 4.1 would help some of the scripts.

mkdir -p $HOME/OpenFOAM

@carlosal1015
carlosal1015 / openfoam-com-v2112.log
Created March 20, 2022 03:31
openfoam-com-v2112 log
This file has been truncated, but you can view the full file.
2022-03-19T23:10:04.4555376Z #10 1.769 :: Synchronizing package databases...
2022-03-19T23:10:06.2591160Z #10 3.623 core downloading...
2022-03-19T23:10:06.2591493Z #10 3.623 extra downloading...
2022-03-19T23:10:06.2591795Z #10 3.623 community downloading...
2022-03-19T23:10:06.2592096Z #10 3.623 multilib downloading...
2022-03-19T23:10:06.2592437Z #10 3.623 :: Starting full system upgrade...
2022-03-19T23:10:06.5598538Z #10 3.872 resolving dependencies...
2022-03-19T23:10:06.5598930Z #10 3.872 looking for conflicting packages...
2022-03-19T23:10:06.5599232Z #10 3.875
2022-03-19T23:10:06.5599777Z #10 3.875 Packages (1) tzdata-2022a-1