Installing MESA into the AMUSE Framework

I presently have MESA (release r12115) installed and running on my Mac Pro (2019) running Mac OS X ver. 10.15.3 (Catalina). I'd like to install MESA into the AMUSE Framework. Is anyone aware of a procedure that performs the installation under the Anaconda distribution (ver. 3.7) on a Mac Pro under the Catalina operating system in zsh (z shell)?
Please advise.
Sam Dupree.

Hello Sam,
Could you explain in a bit more detail what you are hoping to do?
AMUSE has a module for MESA, but this uses a different MESA version than the one you are using. Unfortunately it is not possible to drop in a newer version and use this with AMUSE (though we are hoping to update MESA at some point, and if you would be able and willing to help with this please let us know!).
Installing AMUSE on Catalina should work fine (I use this on a daily basis). Prior to installing AMUSE, you should install the prerequisites (gcc, openmpi/mpich, fftw, ...). After this, installing AMUSE should work fine, following the instructions on the website.
Steven Rieder

Hello Steve,
Thank you for responding to my question. My initial intention was to
find out what it would take to install MESA into AMUSE and to be able to
tun MESA under AMUSE. To this end, let me begin by asking where do I
find the procedure to install whatever version of MESA can be installed
into the AMUSE framework? Next, would you give me an idea as to scope of
the work to be done to install the current version of MESA into AMUSE.
Looking forward to hearing from you.
Sam Dupree.
On February/29/2020 08:01:53, Steven Rieder wrote:

Hello Sam,
Could you explain in a bit more detail what you are hoping to do?
AMUSE has a module for MESA, but this uses a different MESA version
than the one you are using. Unfortunately it is not possible to drop
in a newer version and use this with AMUSE (though we are hoping to
update MESA at some point, and if you would be able and willing to
help with this please let us know!).
Installing AMUSE on Catalina should work fine (I use this on a daily
basis). Prior to installing AMUSE, you should install the
prerequisites (gcc, openmpi/mpich, fftw, ...). After this, installing
AMUSE should work fine, following the instructions on the website.
Steven Rieder
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598?email_source=notifications&email_token=ABEO35YQ23IQPZSZ475KSRTRFEDMDA5CNFSM4K6LZXEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLZRGY#issuecomment-592943259,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO35366CZMWPRMRQF5JITRFEDMDANCNFSM4K6LZXEA.

To follow up, I attempted to install MESA into AMUSE following the procedure posted at [https://amuse.readthedocs.io/en/latest/install/howto-install-AMUSE.html]https://amuse.readthedocs.io/en/latest/install/howto-install-AMUSE.html. The results were:
(amuse) user@Samuels-Mac-Pro amuse-master % make mesa.code DOWNLOAD_CODES=1
/Users/user/opt/anaconda3/envs/amuse/bin/python setup.py -v build_code --inplace --clean=yes --code-name=mesa
running build_code
cleaning src/amuse/community/mesa
make -C src/amuse/community/mesa clean
b'rm -f -f *~ *.pyc *.mod *.o worker_code worker_code.f90 ./src/mesa/lib/libstar.a'
b'rm -f -f mesa_worker mesa_worker_sockets worker_code-sockets.f90'
b'make -C ./mesa_reqs clean'
building libraries and community codes
build, for logging, see 'build.log'
[21:54:20] building mesa
make -C src/amuse/community/mesa all
b'amusifier --type=f90 interface.py MESAInterface -o worker_code.f90'
b'make -C . download'
b'rm -f -Rf src'
b'mkdir src'
b'/Users/user/opt/anaconda3/envs/amuse/bin/python ./download.py'
b'downloading version 2208 from http://amuse.strw.leidenuniv.nl/codes/mesa-r2208.tgz to mesa-r2208.tgz'
b'Traceback (most recent call last):'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1254, in do_open'
b'    h.request(req.get_method(), req.selector, req.data, headers)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1107, in request'
b'    self._send_request(method, url, body, headers)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1152, in _send_request'
b'    self.endheaders(body)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1103, in endheaders'
b'    self._send_output(message_body)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 934, in _send_output'
b'    self.send(msg)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 877, in send'
b'    self.connect()'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1253, in connect'
b'    super().connect()'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 849, in connect'
b'    (self.host,self.port), self.timeout, self.source_address)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/socket.py", line 694, in create_connection'
b'    for res in getaddrinfo(host, port, 0, SOCK_STREAM):'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/socket.py", line 733, in getaddrinfo'
b'    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):'
b'socket.gaierror: [Errno 8] nodename nor servname provided, or not known'
b''
b'During handling of the above exception, another exception occurred:'
b''
b'Traceback (most recent call last):'
b'  File "./download.py", line 75, in '
b'    main(**options.dict)'
b'  File "./download.py", line 58, in main'
b'    instance.start()'
b'  File "./download.py", line 50, in start'
b'    urllib.request.urlretrieve(url, filepath)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 188, in urlretrieve'
b'    with contextlib.closing(urlopen(url, data)) as fp:'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 163, in urlopen'
b'    return opener.open(url, data, timeout)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 472, in open'
b'    response = meth(req, response)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 582, in http_response'
b"    'http', request, response, code, msg, hdrs)"
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 504, in error'
b'    result = self._call_chain(*args)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 444, in _call_chain'
b'    result = func(*args)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 696, in http_error_302'
b'    return self.parent.open(new, timeout=req.timeout)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 466, in open'
b'    response = self._open(req, data)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 484, in _open'
b"    '_open', req)"
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 444, in _call_chain'
b'    result = func(*args)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1297, in https_open'
b'    context=self._context, check_hostname=self._check_hostname)'
b'  File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1256, in do_open'
b'    raise URLError(err)'
b'urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>'
b'make[2]: *** [download] Error 1'
b'make[1]: *** [src/mesa/install] Error 2'
[21:54:21] building mesa, failed, see 'build.log' for error log
Environment variables
AMUSE_DIR	/Users/user/amuse-master
BOOSTLIBS
CC	gcc
CFLAGS	-g -O2 -fPIC
CUDART_LIBS	-lnocudart
CUDA_LIBDIRS	-L/NOCUDACONFIGURED/lib -LNOCUDACONFIGURED/lib64
CUDA_LIBS	-lnocuda
CUDA_SDK	/NOCUDACONFIGURED
CUDA_TK	/NOCUDACONFIGURED
CXX	g++
CXXFLAGS	-g -O2 -fPIC
F90	gfortran
FC	gfortran
FFLAGS	-g -O2 -fPIC
FFTW_FLAGS	-I/opt/local/include
FFTW_LIBS	-L/opt/local/lib -lfftw3 -lfftw3_threads
FORTRAN	gfortran
GSL_FLAGS	-I/opt/local/include
GSL_LIBS	-L/opt/local/lib -lgsl -lgslcblas -lm
JAR	/usr/bin/jar
JAVA	/usr/bin/java
JAVAC	/usr/bin/javac
MPICC	mpicc
MPICXX	mpicxx
MPIF90	mpif90
MUSE_PACKAGE_DIR	/Users/user/amuse-master
OPENMP_CFLAGS	-fopenmp
OPENMP_FCFLAGS	-fopenmp
PYTHON	/Users/user/opt/anaconda3/envs/amuse/bin/python
SAPPORO_LIBS	-L/Users/user/amuse-master/lib/sapporo_light -lsapporo
Community codes not built (because of errors):

mesa
================================================================================
0 out of 1 codes built, 0 out of 0 libraries built
Traceback (most recent call last):
File "setup.py", line 92, in
python_requires=">=3.5"
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/site-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/user/amuse-master/support/setup_codes.py", line 1214, in run
BuildCodes.run(self)
File "/Users/user/amuse-master/support/setup_codes.py", line 1093, in run
raise Exception("No succesful builds detected. Aborting.")
Exception: No succesful builds detected. Aborting.
make: *** [mesa.code] Error 1
(amuse) user@Samuels-Mac-Pro amuse-master %

A check of build.log showed

Building libraries and codes

Building code: mesa, target: all, in directory: src/amuse/community/mesa

amusifier --type=f90 interface.py MESAInterface -o worker_code.f90
make -C . download
rm -f -Rf src
mkdir src
/Users/user/opt/anaconda3/envs/amuse/bin/python ./download.py
downloading version 2208 from http://amuse.strw.leidenuniv.nl/codes/mesa-r2208.tgz to mesa-r2208.tgz
Traceback (most recent call last):
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 1253, in connect
super().connect()
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/http/client.py", line 849, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/socket.py", line 694, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/socket.py", line 733, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./download.py", line 75, in
main(**options.dict)
File "./download.py", line 58, in main
instance.start()
File "./download.py", line 50, in start
urllib.request.urlretrieve(url, filepath)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 188, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 696, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Users/user/opt/anaconda3/envs/amuse/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
make[2]: *** [download] Error 1
make[1]: *** [src/mesa/install] Error 2

Building finished

From the log and from pinging amuse.strw.leidenuniv.nl,
(base) user@Samuels-Mac-Pro ~ % ping amuse.strw.leidenuniv.nl
PING amuse.strw.leidenuniv.nl (<IP_ADDRESS>): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
^C
--- amuse.strw.leidenuniv.nl ping statistics ---
12 packets transmitted, 0 packets received, 100.0% packet loss
(base) user@Samuels-Mac-Pro ~ %
the server is either down or no longer there. What is the correct URL for a version of MESA that can be installed in AMUSE?
Please advise.
Sam Dupree.

Ah, that is a clear issue then. That server should be working, but clearly it isn't at the moment. I've asked the sysadmin to look into this, will get back to you once it's solved.

Any status from the sysadmin?

On March/02/2020 06:05:47, Steven Rieder wrote:

Ah, that is a clear issue then. That server should be working, but
clearly it isn't at the moment. I've asked the sysadmin to look into
this, will get back to you once it's solved.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598?email_source=notifications&email_token=ABEO352RVYU6RCKWTII5HEDRFOHIXA5CNFSM4K6LZXEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENO4PEI#issuecomment-593348497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO35YXVBC5KC5EXG5LP23RFOHIXANCNFSM4K6LZXEA.

As of the date of this posting, 11-Mar-2020, the server
|amuse.strw.leidenuniv.nl is still not working. Any status from the
sysadmin? Furthermore, out of curiosity, what would be the effort and
the skill level required to import MESA into AMUSE?
|
|
|
|Sam Dupree.|
|
|
|
|

Hi @OrbitalMechanic,
That's strange, the server should be up and is reachable to me (it might not respond to pings though), could you try to download the mesa source files (http://amuse.strw.leidenuniv.nl/codes/mesa-r2208.tgz)?
This is currently working for me.

To import the current version of MESA into AMUSE will mostly require knowledge of the inner workings of MESA, i.e. how to reach all the information and how to set parameters/properties/etc. We have a tracking issue for this (#520), and we could definitely help with the AMUSE side of the interface.
A starting effort for a more modern MESA interface was made some years ago, but I am unsure where this ended up (@ipelupessy do you know this?).

On March/11/2020 18:08:11, Steven Rieder wrote:

Hi @OrbitalMechanic https://github.com/OrbitalMechanic,
That's strange, the server should be up and is reachable to me (it
might not respond to pings though), could you try to download the mesa
source files (http://amuse.strw.leidenuniv.nl/codes/mesa-r2208.tgz)?
This is currently working for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598#issuecomment-597901987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO357VVGFONS2R6YPWF2DRHADUXANCNFSM4K6LZXEA.

I'm now able to download from the server and am attempting to build MESA
into AMUSE. I'll let you know how that turns out.
Sam Dupree.

On March/11/2020 18:12:37, Steven Rieder wrote:

To import the current version of MESA into AMUSE will mostly require
knowledge of the inner workings of MESA, i.e. how to reach all the
information and how to set parameters/properties/etc. We have a
tracking issue for this (#520
https://github.com/amusecode/amuse/issues/520), and we could
definitely help with the AMUSE side of the interface.
A starting effort for a more modern MESA interface was made some years
ago, but I am unsure where this ended up (@ipelupessy
https://github.com/ipelupessy do you know this?).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598#issuecomment-597903516,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO35ZWUFKF2TJJAG4UCYDRHAEFLANCNFSM4K6LZXEA.

I'm now able to complete the MESA build portion of this installation,
but the build fails afterwards with the message:
make -s --no-print-directory -C ./mesa_reqs star FFLAGS="-g -O2 -fPIC"
gfortran -fno-range-check   -fbounds-check -g -g -O2 -fPIC  -g -O2 -fPIC
-I./src/mesa/include -c -ffree-form -I./src/mesa/star/make -I./mesa_reqs
-o interface.o interface.f
mpif90 -g -O2 -fPIC -g -O2 -fPIC
-I/Users/user/amuse-master/lib/forsockets worker_code.f90 interface.o
mesa_reqs/run_star_support.o mesa_reqs/run_star_extras.o
mesa_reqs/calibrate.o mesa_reqs/isochrone.o mesa_reqs/pgstar_stub.o
mesa_reqs/create_zams.o mesa_reqs/sample_zams.o mesa_reqs/run_star.o -o
mesa_worker -L./src/mesa/lib -lstar -ldiffusion -lionization -lmlt -latm
-lkaro -lcolors -leos -lkap -ljina -lweak -lnet -lscreen -lrates -lneu
-lchem -lnum -linterp_2d -linterp_1d -lutils -lalert -lconst -lmtx
-lmesalapack -lmesablas -L/Users/user/amuse-master/lib/forsockets
-lforsockets
worker_code.f90:490:10:
490 |       use FortranSocketsInterface
      |          1
Fatal Error: Cannot open module file 'fortransocketsinterface.mod' for
reading at (1): No such file or directory
compilation terminated.
make[1]: *** [mesa_worker] Error 1

Building finished

It seems that the FortranSocketsInterface.mod file is not being built.
Is there a seperate Makefile I need to run, or is there a step I'm missing?
Please advise.
Sam Dupree.
P.S. - The complete build log was captured in the attached file.

/Users/user/amuse-master/src/amuse/community/mesa/src/mesa/alert
building alert package.
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../public/alert_lib.f
ar crs libalert.a alert_lib.o
mpif90 -g -O2 -fPIC -fno-range-check   -I../../make -I../../public -I../../../include -fbounds-check -g -c -ffixed-form -ffixed-line-length-132 ../src/test_alert.f
mpif90 -g -O2 -fPIC  -o ../tester test_alert.o -L../../make -lalert -L../../../lib
export
done
mesa alert has been made, tested, and exported.

/Users/user/amuse-master/src/amuse/community/mesa/src/mesa/utils
building utils package.
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -fbounds-check -O2 -g -c -ffree-form   ../public/utils_def.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -fbounds-check -O2 -g -c -ffree-form   ../private/utils_isnan_okay.f
../private/utils_isnan_okay.f:38:36:
38 |          is_real_inf = (2*x==x .and. x /= 0)
|                                    1
Warning: Inequality comparison for REAL(4) at (1) [-Wcompare-reals]
../private/utils_isnan_okay.f:38:24:
38 |          is_real_inf = (2*x==x .and. x /= 0)
|                        1
Warning: Equality comparison for REAL(4) at (1) [-Wcompare-reals]
../private/utils_isnan_okay.f:32:31:
32 |          is_inf = (2*x==x .and. x /= 0)
|                               1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/utils_isnan_okay.f:32:19:
32 |          is_inf = (2*x==x .and. x /= 0)
|                   1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
mpif90 -g -O2 -fPIC -fno-range-check  -Wunused-value -W  -I../public -I../private -I../../include -c -ffree-form ../private/utils_nan.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -fbounds-check -O2 -g -c -ffree-form   ../private/utils_dict.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -fbounds-check -O2 -g -c -ffree-form   ../public/utils_lib.f
ar crs libutils.a utils_isnan_okay.o utils_nan.o utils_dict.o utils_lib.o
mpif90 -g -O2 -fPIC -fno-range-check   -I../../make -I../../public -I../../../include -fbounds-check -g -c -ffixed-form -ffixed-line-length-132 ../src/test_utils.f
mpif90 -g -O2 -fPIC  -o ../tester test_utils.o -L../../make -lutils -L../../../lib -lalert
export
done
mesa utils has been made, tested, and exported.

/Users/user/amuse-master/src/amuse/community/mesa/src/mesa/num
building num package.
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../public/num_def.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_dop853.f
../private/mod_dop853.f:447:132:
447 |   22  y1(i)=y(i)+ha21k1(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1)
../private/mod_dop853.f:451:132:
451 |   23  y1(i)=y(i)+h*(a31k1(i)+a32k2(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1)
../private/mod_dop853.f:455:132:
455 |   24  y1(i)=y(i)+h*(a41k1(i)+a43k3(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1)
../private/mod_dop853.f:459:132:
459 |   25  y1(i)=y(i)+h*(a51k1(i)+a53k3(i)+a54*k4(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1)
../private/mod_dop853.f:463:132:
463 |   26  y1(i)=y(i)+h*(a61k1(i)+a64k4(i)+a65*k5(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1)
../private/mod_dop853.f:467:132:
467 |   27  y1(i)=y(i)+h*(a71k1(i)+a74k4(i)+a75k5(i)+a76k6(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1)
../private/mod_dop853.f:471:132:
471 |   28  y1(i)=y(i)+h*(a81k1(i)+a84k4(i)+a85k5(i)+a86k6(i)+a87*k7(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1)
../private/mod_dop853.f:476:132:
476 |      &   +a98*k8(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 29 at (1)
../private/mod_dop853.f:481:132:
481 |      &   +a107k7(i)+a108k8(i)+a109*k9(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 30 at (1)
../private/mod_dop853.f:486:132:
486 |      &   +a117k7(i)+a118k8(i)+a119k9(i)+a1110k10(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 31 at (1)
../private/mod_dop853.f:492:132:
492 |      &   +a127k7(i)+a128k8(i)+a129k9(i)+a1210k10(i)+a1211*k2(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 32 at (1)
../private/mod_dop853.f:499:132:
499 |   35  k5(i)=y(i)+h*k4(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 35 at (1)
../private/mod_dop853.f:510:132:
510 |   41    err=err+(erri/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1)
../private/mod_dop853.f:518:132:
518 |   42    err=err+(erri/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1)
../private/mod_dop853.f:583:132:
583 |      &            +a1413*k4(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 51 at (1)
../private/mod_dop853.f:589:132:
589 |      &            +a1514*k10(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 52 at (1)
../private/mod_dop853.f:595:132:
595 |      &            +a1615*k2(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 53 at (1)
../private/mod_dop853.f:615:132:
615 |   67     y(i)=k5(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 67 at (1)
../private/mod_dop853.f:686:132:
686 |   10    dny=dny+(y(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
../private/mod_dop853.f:691:132:
691 |   11    dny=dny+(y(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1)
../private/mod_dop853.f:702:132:
702 |   12  y1(i)=y(i)+h*f0(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1)
../private/mod_dop853.f:710:132:
710 |   15    der2=der2+((f1(i)-f0(i))/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1)
../private/mod_dop853.f:714:132:
714 |   16    der2=der2+((f1(i)-f0(i))/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1)
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_dopri5.f
../private/mod_dopri5.f:80:132:
80 |   16            iwork(20+i)=i
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1)
../private/mod_dopri5.f:281:132:
281 |   22  y1(i)=y(i)+ha21k1(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 22 at (1)
../private/mod_dopri5.f:285:132:
285 |   23  y1(i)=y(i)+h*(a31k1(i)+a32k2(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1)
../private/mod_dopri5.f:289:132:
289 |   24  y1(i)=y(i)+h*(a41k1(i)+a42k2(i)+a43*k3(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1)
../private/mod_dopri5.f:293:132:
293 |   25  y1(i)=y(i)+h*(a51k1(i)+a52k2(i)+a53k3(i)+a54k4(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1)
../private/mod_dopri5.f:297:132:
297 |   26  ysti(i)=y(i)+h*(a61k1(i)+a62k2(i)+a63k3(i)+a64k4(i)+a65*k5(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1)
../private/mod_dopri5.f:302:132:
302 |   27  y1(i)=y(i)+h*(a71k1(i)+a73k3(i)+a74k4(i)+a75k5(i)+a76*k6(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1)
../private/mod_dopri5.f:313:132:
313 |   28  k4(i)=(e1k1(i)+e3k3(i)+e4k4(i)+e5k5(i)+e6k6(i)+e7k2(i))*h
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1)
../private/mod_dopri5.f:320:132:
320 |   41    err=err+(k4(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1)
../private/mod_dopri5.f:324:132:
324 |   42    err=err+(k4(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 42 at (1)
../private/mod_dopri5.f:374:132:
374 |   44     y(i)=y1(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 44 at (1)
../private/mod_dopri5.f:447:132:
447 |   10    dny=dny+(y(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
../private/mod_dopri5.f:452:132:
452 |   11    dny=dny+(y(i)/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1)
../private/mod_dopri5.f:463:132:
463 |   12  y1(i)=y(i)+h*f0(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1)
../private/mod_dopri5.f:471:132:
471 |   15    der2=der2+((f1(i)-f0(i))/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1)
../private/mod_dopri5.f:475:132:
475 |   16    der2=der2+((f1(i)-f0(i))/sk)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 16 at (1)
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../private/mod_cash_karp.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_dc_decsol.f
slvrod.dek:243:132:
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 623 at (1)
slvrod.dek:244:132:
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 624 at (1)
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_rosenbrock.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_sodex.f
../private/mod_sodex.f:447:132:
447 |    1          nj(i)=2*nj(i-2)+nj(1)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
../private/mod_sodex.f:452:132:
452 |    4   a(i)=a(i-1)+nj(i)*wkrow+wkdec
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 4 at (1)
../private/mod_sodex.f:525:132:
525 |  15               fjac(l+mujacj,j)=(yh(l)-dy(l))/del(j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 15 at (1)
../private/mod_sodex.f:564:132:
564 |   19           fx(j)=(yh(j)-dy(j))/delt
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 19 at (1)
../private/mod_sodex.f:656:132:
656 |   70      y(i)=t1i
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 70 at (1)
../private/mod_sodex.f:664:132:
664 |   75      yh(i)=y(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 75 at (1)
../private/mod_sodex.f:774:132:
774 |  125          e(i+mle,j)=-fjac(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 125 at (1)
../private/mod_sodex.f:779:132:
779 |  126          e(ib,j)=e(ib,j)+hji*fmas(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 126 at (1)
../private/mod_sodex.f:787:132:
787 |                   do 225 i=1,n
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 225 at (1)
../private/mod_sodex.f:788:132:
788 |  225              e(i,j)=-fjac(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 225 at (1)
../private/mod_sodex.f:792:132:
792 |                   do 226 i=i1,i2
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 226 at (1)
../private/mod_sodex.f:793:132:
793 |  226              e(i,j)=e(i,j)+hji*fmas(i-j+mbdiag,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 226 at (1)
../private/mod_sodex.f:800:132:
800 |                       do 324 i=1,n
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 324 at (1)
../private/mod_sodex.f:801:132:
801 |  324                  e(i,j)=fmas(i,j)*hji-fjac(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 324 at (1)
../private/mod_sodex.f:808:132:
808 |                       do 405 i=1,n
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 405 at (1)
../private/mod_sodex.f:809:132:
809 |   405                 e(i,j)=fmas(i,j)*hji
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 405 at (1)
../private/mod_sodex.f:813:132:
813 |                       do 406 i=i1,i2
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 406 at (1)
../private/mod_sodex.f:814:132:
814 |   406                 e(i,j)=e(i,j)-fjac(i-j+madd,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 406 at (1)
../private/mod_sodex.f:827:132:
827 |  425          e(i+mle,j)=-fjac(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 425 at (1)
../private/mod_sodex.f:828:132:
828 |  427          e(mdiag,j)=e(mdiag,j)+hji
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 427 at (1)
../private/mod_sodex.f:849:132:
849 |  525           e(i,j)=-fjac(i,j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 525 at (1)
../private/mod_sodex.f:850:132:
850 |  526           e(j,j)=e(j,j)+hji
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 526 at (1)
../private/mod_sodex.f:861:132:
861 |   20   del(i)=dy(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
../private/mod_sodex.f:864:132:
864 |  634       del(i)=del(i)+hj*fx(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 634 at (1)
../private/mod_sodex.f:883:132:
883 |   23   yh(i)=yh(i)+del(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 23 at (1)
../private/mod_sodex.f:892:132:
892 |  360           sum=sum+fmas(i,j)*del(j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 360 at (1)
../private/mod_sodex.f:893:132:
893 |  361           wh(i)=sum
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 361 at (1)
../private/mod_sodex.f:900:132:
900 |  362           sum=sum+fmas(i-j+mbdiag,j)*del(j)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 362 at (1)
../private/mod_sodex.f:901:132:
901 |  363           wh(i)=sum
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 363 at (1)
../private/mod_sodex.f:905:132:
905 |   24       dyh(i)=2.d0*(dyh(i)-hji*wh(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 24 at (1)
../private/mod_sodex.f:909:132:
909 |   28       dyh(i)=2.d0*(dyh(i)-hji*del(i))
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 28 at (1)
../private/mod_sodex.f:926:132:
926 |   21      del1=del1+(del(i)/scal(i))**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 21 at (1)
../private/mod_sodex.f:930:132:
930 |   26      del2=del2+(dyh(i)/scal(i))**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1)
../private/mod_sodex.f:936:132:
936 |   25   del(i)=del(i)+dyh(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 25 at (1)
../private/mod_sodex.f:941:132:
941 |   34       dyh(i)=dyh(i)-hji*wh(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 34 at (1)
../private/mod_sodex.f:944:132:
944 |   36       dyh(i)=dyh(i)-hji*del(i)
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 36 at (1)
../private/mod_sodex.f:964:132:
964 |        do 60 i=1,n
|                                                                                1
Warning: Fortran 2018 deleted feature: Shared DO termination label 60 at (1)
../private/mod_sodex.f:969:132:
969 |   65   err=err+min(abs((t(1,i)-t(2,i)))/scal(i),1.d10)**2
|                                                                                1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 65 at (1)
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_seulex.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -O2 -ffixed-form -ffixed-line-length-132 -c ../private/mod_radau5.f
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../private/mod_root.f
../private/mod_root.f:292:16:
292 |             if (dydx == 0) exit ! try safe_root
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_root.f:64:13:
64 |          if (y1 == 0) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_root.f:68:13:
68 |          if (y3 == 0) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_root.f:79:13:
79 |          if (x_guess == arg_not_provided) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_root.f:112:22:
112 |             do while (dydx /= 0 .and. abs(2ym) < abs(dxolddydx))
|                      1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_root.f:124:19:
124 |                if (y32 /= 0) then
|                   1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../private/mod_solout_root.f
../private/mod_solout_root.f:68:13:
68 |          if (y1 == 0) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_solout_root.f:72:13:
72 |          if (y3 == 0) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_solout_root.f:83:13:
83 |          if (x_guess == arg_not_provided) then
|             1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_solout_root.f:116:22:
116 |             do while (dydx /= 0 .and. abs(2ym) < abs(dxolddydx))
|                      1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_solout_root.f:128:19:
128 |                if (y32 /= 0) then
|                   1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
mpif90 -g -O2 -fPIC -fno-range-check    -I../public -I../private -I../../include -Wunused-value -W -fimplicit-none   -O2 -c -ffixed-form -ffixed-line-length-132 ../private/mod_newton.f
../private/mod_newton.f:1202:16:
1202 |             if (work(r_alpha_current) == 0) work(r_alpha_current) = 1
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:1235:36:
1235 |                      if (dxd(ivar,k)-dxsave(ivar,k) /= 0) exit
|                                    1
Warning: Inequality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:1307:25:
1307 |                      if (dxdd(ivar,zone).eq.dxsave(ivar,zone)) then
|                         1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:1018:16:
1018 |             if (coeff == 1) then
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:985:22:
985 |                   if (a1 == 0) then
|                      1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:773:16:
773 |             if (work(r_tol_residual_norm)==0) work(r_tol_residual_norm)=1d99
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:774:16:
774 |             if (work(r_tol_max_residual)==0) work(r_tol_max_residual)=1d99
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:775:16:
775 |             if (work(r_tol_max_correction)==0) work(r_tol_max_correction)=1d99
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:776:16:
776 |             if (work(r_target_corr_factor) == 0) work(r_target_corr_factor) = 0.9d0
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:777:16:
777 |             if (work(r_scale_correction_norm) == 0) work(r_scale_correction_norm) = 2d0
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:778:16:
778 |             if (work(r_corr_param_factor) == 0) work(r_corr_param_factor) = 10d0
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.f:779:16:
779 |             if (work(r_scale_max_correction) == 0) work(r_scale_max_correction) = 1d99
|                1
Warning: Equality comparison for REAL(8) at (1) [-Wcompare-reals]
../private/mod_newton.

@rieder its at https://github.com/amusecode/amuse-sandbox/tree/master/nathan/mesa6794
this is also quite old though...

@OrbitalMechanic yea, you need to have the framework build, if you are building from a repository checkout:
make framework

or
python setup.py develop_build

Doing the framework build followed by the MESA build did the trick. Lastly, I do have one (I hope) final question dealing with testing.
I ran nosetest and got the following result:
(amuse) user@Samuels-Mac-Pro amuse-master % nosetests
EEEEEEEEEEEEEEEEEEEEEEE..--------------------------------------------------------------------------
WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        18311
Message:    connect() to <IP_ADDRESS>:1027 failed
Error:      Operation now in progress (36)
I installed Open MPI using homebrew.
Any suggestions?
Sam Dupree.

can you try:
mpiexec nosetests

(are you trying all nosetests or just mesa onces?)

On March/12/2020 13:17:08, Inti Pelupessy wrote:

can you try:
|mpiexec nosetests |
(are you trying all nosetests or just mesa ones?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598#issuecomment-598309679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO3572U6W32CDKZJRAL4DRHEKJJANCNFSM4K6LZXEA.

At present I'm attempting to test the AMUSE packages before testing the
MESA installation. I ran the command mpiexec nosetests and attached the
output as a compressed file to this note (the original file is too big
to attach). Being relatively new to Open-MPI or MPI for that matter, I
can't make too much out of what the output is saying except that the
issue seems to center about the nodes that are attemtpting to be allocated.
Any suggestions?
Sam Dupree.

can you try setting this environment var:
export OMPI_MCA_rmaps_base_oversubscribe=yes

On March/12/2020 14:51:23, Inti Pelupessy wrote:

can you try setting this environment var:
|export OMPI_MCA_rmaps_base_oversubscribe=yes |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/598#issuecomment-598359988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEO3563B45ZRFVB5F6YYATRHEVKXANCNFSM4K6LZXEA.

Attached is a file showing the output from running mpiexec nosetests
where the environment vari|ables export
OMPI_MCA_rmaps_base_oversubscribe=yes and ||||export
OMPI_MCA_orte_base_help_aggregate=0 where set. After 20 minutes, the
command is still running.|
|||Could the problem be that I'm running with Open-MPI as opposed to
mpich?||
|
|Sam Dupree.
|
|
|
||
||
||
||
Last login: Thu Mar 12 13:54:28 on ttys000
(base) user@Samuels-Mac-Pro ~ % conda activate amuse
(amuse) user@Samuels-Mac-Pro ~ % cd amuse-master
(amuse) user@Samuels-Mac-Pro amuse-master % export OMPI_MCA_rmaps_base_oversubscribe=yes
(amuse) user@Samuels-Mac-Pro amuse-master % mpiexec nosetests
EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.............--------------------------------------------------------------------------
WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        43408
Message:    connect() to <IP_ADDRESS>:1038 failed
Error:      Operation now in progress (36)
[Samuels-Mac-Pro.local:43401] 11 more processes have sent help message help-mpi-btl-tcp.txt / client connect fail
[Samuels-Mac-Pro.local:43401] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
^Zmpiexec: Forwarding signal 18 to job
^C%                                                                                (amuse) user@Samuels-Mac-Pro amuse-master % export OMPI_MCA_rmaps_base_oversubscribe=yes
(amuse) user@Samuels-Mac-Pro amuse-master % export OMPI_MCA_orte_base_help_aggregate=0
(amuse) user@Samuels-Mac-Pro amuse-master % mpiexec nosetests
EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE....EEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEE...EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEE..--------------------------------------------------------------------------
WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47449
Message:    connect() to <IP_ADDRESS>:1040 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47448
Message:    connect() to <IP_ADDRESS>:1047 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47442
Message:    connect() to <IP_ADDRESS>:1046 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47450
Message:    connect() to <IP_ADDRESS>:1041 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47451
Message:    connect() to <IP_ADDRESS>:1045 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47440
Message:    connect() to <IP_ADDRESS>:1036 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47443
Message:    connect() to <IP_ADDRESS>:1037 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47447
Message:    connect() to <IP_ADDRESS>:1039 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47445
Message:    connect() to <IP_ADDRESS>:1044 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47444
Message:    connect() to <IP_ADDRESS>:1043 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47446
Message:    connect() to <IP_ADDRESS>:1038 failed
Error:      Operation now in progress (36)

WARNING: Open MPI failed to TCP connect to a peer MPI process.  This
should not happen.
Your Open MPI job may now hang or fail.
Local host: Samuels-Mac-Pro
PID:        47441
Message:    connect() to <IP_ADDRESS>:1042 failed
Error:      Operation now in progress (36)

do you know if mpi by itself works? e.g.
mpiexec hostname

if this works, can you try an MPI hello world: https://mpitutorial.com/tutorials/mpi-hello-world/
after that: http://mpi.deino.net/mpi_functions/MPI_Comm_spawn.html for testing mpi spawn..
@rieder have you seen such problem on mac?
lastly, you can try putting a file in the amuse root with
[channel]
channel_type = sockets

(this doesn't use MPI)
(btw: putting -sv after nosetests gives a little bit more information, and you can also try to run only the first test that fails:
mpiexec nosetests -sv path/to/testfile.py:testclass.testmethod

new mesa has been merged recently, further, this issue has diverged into another error discussion, please reopen this in new issue if necessary. Closing


Bugfix: Flask Modifiers

Description
This bugfix should fix https://github.com/PoE-Overlay-Community/PoE-Overlay-Community-Fork/issues/19
Flasks have their own special stats (sort of like implicits), which actually arn't searchable at all.
To prevent the stat parser from picking up these modifiers, I've added a Flask Parser to identify the flask-specific section of a copied item.
Replication Steps
See  https://github.com/PoE-Overlay-Community/PoE-Overlay-Community-Fork/issues/19 for the replication steps/problem
Screenshots/Video
The actual in-game item:

Raw item data:
Rarity: Unique
Forbidden Taste
Quartz Flask
--------
Lasts 4.00 Seconds
Consumes 30 of 60 Charges on use
Currently has 0 Charges
10% chance to Dodge Attack Hits
10% chance to Dodge Spell Hits
Phasing
--------
Requirements:
Level: 27
--------
Item Level: 80
--------
Recover 80% of Life on use
8% of Maximum Life taken as Chaos Damage per second
--------
Your reach exceeds your grasp.
--------
Right click to drink. Can only hold charges while in belt. Refills as you kill monsters.

Incorrect stat search (using a version without this bugfix):

Stat search with the bugfix would look as following:

i.e. the flask specific stats aren't searched, not displayed.
They're unsearchable, don't change at all, and thus irrelevant for the evaluation.
How Has This Been Tested?

[ ] ran npm run ng:lint
[ ] ran npm run format
[ ] ran npm run ng:test
[ ] added unit tests
[x] manually tested

Can we add a test for the new service?

Can we add a test for the new service?

I'm not sure what kind of test you're expecting me to write?
None of the other parsers have unit tests, so I can't really use them as an example.
The Stats Service, which uses this parser, does have a test which already contains a flask for the test it performs. Based off manual testing and the unit test not failing, I assume this feature works properly.

I was just thinking about a unit test for this service (https://github.com/PoE-Overlay-Community/PoE-Overlay-Community-Fork/pull/34/files#diff-feda71a9edafe2c15213ca704d6f4affR14).  It shouldn't be too complex - just need to instantiate the service and verify that when you call its only method with some set of input, you get the expected output.


Exhaustively unit test crypto objects

We should strive for 100% coverage on crypto classes. Bugs here can lead to loss of funds
In addition to improving coverage, additional test iterations should be explored. How much extra time does it take to run certain crypto tests 1000 or 1000000 times? Doing so could help uncover edge case bugs

Additional ED25519 test vectors here.


ChannelAxis object too rigid for channel invariant models.

Hello,
I'm trying to convert the instanseg models to your v0_5 specs. One of our models takes an arbitrary number of input channels.
At the moment it seems ChannelAxis takes a list of channel names and if len(channel names) does not match the input tensor shape then it throws an error.
I'm tempted to go around this by replacing ChannelAxis with SpaceInputAxis(id=AxisId("c"), but will this lead to downstream issues?
Best,

Maybe IndexAxis would be more suitable.
The axis types are mostly to inform (programmatic) model users how to use the model.
With such a custom axes adding a description would be very nice (IndexAxis(description=...)).

for the input axis you should use IndexInputAxis to be precise

Thank you!


⚠ gorzdrav.org has degraded performance

In e9b0e74, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 4048 ms

Resolved: gorzdrav.org performance has improved in 4678fa9.


Add ALPN support to TLS node

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Proposed changes

Add support to specify a ALPN Protocol in the TLS config node.
Will close #2434
I've had a look at the other TLS options and none immediately jump out as being useful to expose.
I've also chosen to limit this to only specifying a single protocol, not a list of protocols in preference order. Given the use cases seen so far I don't think we can support fallback (Need to look more at the http-request node and http/2.0 support)
I'm still working out how to build a test for this so I'll leave it as a draft pull request while I think about it a bit more.
Checklist

[x] I have read the contribution guidelines
[x] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage increased (+0.03%) to 67.374% when pulling 8c95067ec4c727c9ed7d46318af5d4c809deb071 on hardillb:ALPNProtocols into 4f77bbeb2b9da0e9d1c261c1e5a8cbfcfe44dd0c on node-red:master.

will this still work with the got replacement for the request node ? or do they need to change in sync ?

@dceejay At the moment we don't have http/2.0 support in the http-request node with GOT which is where there would be some overlap. I'm still checking (another reason for this being still draft)

ALPNProtocols is a standard property of the TLS Options object - https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener
It should Just Work anywhere that passes the TLS node config through to an API that expects a TLS options object (which is everywhere we use it afaik)

I've set up a quick test env using the nginx:latest container with the following nginx.conf
user www-data;
worker_processes auto;

events {
  worker_connections 1024;
}

stream {

  map $ssl_preread_alpn_protocols $proxy {
    ~\bhttp/1.1\b     <IP_ADDRESS>:443;
    ~\bmqttv3\b       <IP_ADDRESS>:1884;
    default               <IP_ADDRESS>:443;
  }

  server {
    listen 9000;
    proxy_pass $proxy;
    ssl_preread on;
  }

}

Run with
docker run --rm --name nginx -v /home/pi/temp/nginx-apln/nginx.conf:/etc/nginx/nginx.conf:ro -p 9000:9000 nginx

Where <IP_ADDRESS>:443 is a HTTPS server and <IP_ADDRESS>:1884 is a MQTTS broker


[BUG] Doesn't build with Java 21

Describe the bug
BaSyx works with Java 17, but doesn't work with Java 21.
To Reproduce
Steps to reproduce the behavior:

Clone the repository
Check that Java 21 is installed
Run mvn clean install -dskipTests
The build will fail

Expected behavior
The build should be successful.
System (please complete the following information):

OS: Linux (Ubuntu)
Version latest main version
Java: OpenJDK 21.0.5, 64-Bit

Additional context
When following the described procedure above it will lead to the following bug:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.391 s
[INFO] Finished at: 2024-12-05T16:57:51+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.projectlombok:lombok-maven-plugin:<IP_ADDRESS>:delombok (default) on project basyx.aasregistry-plugins: Unable to delombok: InvocationTargetException: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :basyx.aasregistry-plugins

Based on current discussions, the problem is related to the lombok-maven-plugin.

Thanks a lot for providing the PR!


Added a useful link

Added a useful link on the SQL tutorial that will be helpful for your learners.

@1vishalkumar thanks


Added Spanish translation

Let me know if it's Ok.

I don't know Spanish, but looks nice :-) Thanks!


最优模型的学习率

你好，看到了你定义了一个调整学习率的方法，但是train.py里并没有调用这个方法，你最好的模型每个epoch的学习率都是0.0001吗

Hi.That learning rate adjustment is for SGD, and Adam uses the default value. @xhua5296

Thanks for replying, the best accuracy(0.8891) of model you show in the readme is using the SGB or Adam?

Ohh.  Sorry, I forgot it. But I think accuracy > 0.9 @xhua5296

You mean the final version of train model(Adam, 200 epochs, lr = 0.0001) you put on github now has accuracy > 0.9, right ?

I forgot that I used SGD or Adam at the time.  Try it yourself. @xhua5296

Oh!  Sorry, I remember, the training set accuracy rate is 0.9, but the test set is only 0.7. @xhua5296

Thanks a lot, I am trying it now.

Do you have any other questions? @xhua5296

While the accuracy of training set is 0.9, that of test set is only 0.7. It is  a overfitting problem, how could I improve the performance of model in test set. Increasing the dropout probability ? Could you give me some tips?

I am trying your current configuration（adam, 0.00001 learning rate, 200 epochs)， however the accuracy stop at 0.4 after 85th epoch and do not improve anymore.

You have fallen into local optimum and try to improve your learning rate. @xhua5296

Do you mean the  learning rate after 85th epoch should be changed? For example increasing learing rate from 0.0001 to 0.001 .

0.01->0.001->0.0001

The 0.7 accuracy of test set is for cifar 10 or cifar 100?


Fix generators

Fixes problems existing in the shrinkers of URIs, that caused them to launch several exceptions when used.

I left some comments in order to better explain the changes upfront! :smile:

I left some comments in order to better explain the changes upfront! :smile:


Notifications | Remove certain Setting options for IDIR users |2|

https://trello.com/c/9NtW1aF8/1196-notifications-remove-certain-setting-options-for-idir-users-2
Task:
This card is to hide specific Notification settings with respect to the SFS feature that do not pertain to a Government User's role (IDIR users).
Actions to Remove:

File Pending Submission
Security Scan Failed

These two actions should not be visible to an IDIR user; thus, we should remove them as notification action options in the notification settings page.
Location in TFRS:
Settings > Notifications

 Notifications | Remove certain Setting options for IDIR users |2|


Support get http header and x-ratelimit-* headers

Describe the change
Support get http header and x-ratelimit-* headers
Issue:

#495
#452

Compare that to #506 this PR support stream mode and x-ratelimit-* headers

@liushuangls thanks for the PR! Got some conflicts after merging #506, let's settle them and roll a new release with this one merged.

@liushuangls thanks for the PR! Got some conflicts after merging #506, let's settle them and roll a new release with this one merged.

Done.

@liushuangls @sashabaranov I just sumbitted my PR on the (more or less) same topic, I only saw this PR after submbitted mine. However:
@sashabaranov let me know how we can handle this duplicate.
@liushuangls just one suggestion do not reimplement Header() for stream, simply embed httpHeader (see my PR).

@liushuangls @sashabaranov I just sumbitted my PR on the (more or less) same topic, I only saw this PR after submbitted mine. However:
@liushuangls just some suggestions:

do not reimplement Header() for stream, simply embed httpHeader (see my PR).
ResetRequests and ResetTokens could be both time.Duration without parsing methods.

@sashabaranov let me know how we can handle this duplicate. My personal idea is to go ahead with Liu's PR (with the above suggestions) and use my PR to add headers on streams (with embedded httpHeader) and documentation. The merging order will be first Liu's PR then mine.

@henomis The reason why the ResetRequests and ResetTokens fields are not directly using time.Duration is that I want to preserve the original values outputted by OpenAI. I believe this approach may help identify some issues. However, if this is unnecessary, I can make modifications accordingly.

Ok @liushuangls I understand. And what about aliasing ResetRequests and ResetTokens as string and attaching ToTime() or Time() method?
type ResetRequests string

func (r *ResetRequest) Time() time.Time {
   // implement here the parser
}

func (r *ResetRequest) String() string{
   // implement here stringer
}

Ok @liushuangls I understand. And what about aliasing ResetRequests and ResetTokens as string and attaching ToTime() or Time() method?
type ResetRequests string

func (r *ResetRequest) Time() time.Time {
   // implement here the parser
}

func (r *ResetRequest) String() string{
   // implement here stringer
}

Very good suggestion, code has been modified.

I've just closed my PR, since I think this is a good implementation now.


Can add a animated wave header

Description
Can add an animated wave header section. using CSS parallax.
Screenshots

hey i can add this..please assign this issue to me

Yes add id you want
On Thu, 9 May 2024 at 6:35 PM riyasaxena32 @.***> wrote:

hey i can add this..please assign this issue to me
—
Reply to this email directly, view it on GitHub
https://github.com/SauravMukherjee44/CodeIN-Community-Website/issues/601#issuecomment-2102904082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3UIM3RMYNL4X57BTE47QG3ZBOJV3AVCNFSM6AAAAAARBABCHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSHEYDIMBYGI
.
You are receiving this because you are subscribed to this thread.Message
ID: <SauravMukherjee44/CodeIN-Community-Website/issues/601/2102904082@
github.com>


iOS Simulator Crash when use IsReachable when try connect an IP does not exist on Network

Bug Information
Version Number of Plugin: <IP_ADDRESS>-beta
Device Tested On:
Simulator Tested On: iPhone X - 11.3
Version of VS: 15.6.7
Version of Xamarin: <IP_ADDRESS>3
Versions of other things you are using:
Steps to reproduce the Behavior
IsReachable Crash when try connect an IP does not exist on Network
Test connect to Local Area Network.
The ip does not exist on Network.
IP:<IP_ADDRESS>
Port:80
var isReachable = await CrossConnectivity.Current.IsReachable(<IP_ADDRESS>, 80);
Crash after run this code.
Expected Behavior
Actual Behavior
Code snippet
Screenshots

Version Number of Plugin: <IP_ADDRESS>-beta
I change to use IsRemoteReachable
Task IsRemoteReachable(Uri uri, TimeSpan timeout);
seems result is OK
iOS Simulator
iPhone X - 11.3 IsRemoteReachable OK
Genymotion android simulator
Samsung Galaxy S8 7.0.0 IsRemoteReachable OK
Real Devices
OPPO R15 - 8.1.0 IsRemoteReachable OK


Spec generation

i have worked a bit on the spec tooling (in a fork of the project : https://github.com/saucisson/formulas) :

model conversion to spec is faster, because it was too long on big models;
formula generation seems to work, even when the original formula is not in CNF; but the conversion require python/sympy and is thus slow;
there is a new formula generator specialized for spec constraints;
added a small script to download the models archive and generate formulas.

Generated formulas are totally random. You can get better ones by removing the "--no-filtering" flag. But it require a tool made by Cesar Rodriguez to check formulas.
Look at https://github.com/saucisson/formulas/blob/model-effciency/spec.sh
To run it, don't forget to install python and python-sympy.

Thanks a lot, Alban! I'll check with Michael later, he found a bug in our
tool which should now be fixed :)
Have a nice day,
Christoph
On Sat, Jun 6, 2015 at 11:16 PM, Alban Linard<EMAIL_ADDRESS>wrote:

i have worked a bit on the spec tooling (in a fork of the project :
https://github.com/saucisson/formulas) :

model conversion to spec is faster, because it was too long on big
models;
formula generation seems to work, even when the original formula is
not in CNF; but the conversion require python/sympy and is thus slow;
there is a new formula generator specialized for spec constraints;
added a small script to download the models archive and generate
formulas.

Generated formulas are totally random. You can get better ones by removing
the "--no-filtering" flag. But it require a tool made by Cesar Rodriguez to
check formulas.
Look at https://github.com/saucisson/formulas/blob/model-effciency/spec.sh
To run it, don't forget to install python and python-sympy.
You can view, comment on, or merge this pull request online at:
https://github.com/christoph-haase/formulas/pull/1
Commit Summary

Use a cache for arcs to improve translation efficiency.
Add transition id/name in comments.
Use isset for improved performance.
Add formula:to-spec command to generate Spec format (debug needed).
Use sympy to compute disjunctive normal form.
Add ReachabilitySpec formula category that should generate
spec-friendly formulas.
Remove echos, and automatically chain to spec conversion.
Add a script to download the MCC archive and generate spec models
and formulas.

File Changes

M mcc.php
https://github.com/christoph-haase/formulas/pull/1/files#diff-0 (1)
A spec.sh
https://github.com/christoph-haase/formulas/pull/1/files#diff-1 (40)
A src/MCC/Command/FormulasToSpec.php
https://github.com/christoph-haase/formulas/pull/1/files#diff-2
(233)
M src/MCC/Command/GenerateFormulas.php
https://github.com/christoph-haase/formulas/pull/1/files#diff-3 (62)
M src/MCC/Command/GenerateSpec.php
https://github.com/christoph-haase/formulas/pull/1/files#diff-4 (62)

Patch Links:

https://github.com/christoph-haase/formulas/pull/1.patch
https://github.com/christoph-haase/formulas/pull/1.diff

—
Reply to this email directly or view it on GitHub
https://github.com/christoph-haase/formulas/pull/1.


UAVCAN/CAN PHY: Mention the recommended impedance

See for context: https://forum.uavcan.org/t/on-can-cable-impedance-and-rj45-connectors/845

Super-ceded by removal of the physical layer from the specification.


E2E - speed up & fix fails

no commit timeout for the docker container (variable), move to 500ms for blocks. Does this break relaying?

randomize ports so multiple running CIs don't conflict & cause a query fail on the machine (can't start bc port bind)

DId this work, or did it just magically fix itself?

DId this work, or did it just magically fix itself?

I think it magically fixed itself... Which scares me even more haha


use babel-node for dev, and babel for prod so we can use es6

#26

@mjewell You're on fire! Reviewing now

@mjewell Solid work - and also bug fixes to the webpack config along the way! 👍 👍
I like that we have babel-node for dev and babel for prod.
I like that you re-introduced the babelrc file back into the repo, it was previously removed because of this issue documented here. I believe this line on the webpack-dev-client is the culprit. Only concern is that it might be confusing for users who see a query in webpack and also presets in .babelrc, so we could either:

Document/comment in .babelrc explaining where the presets will be used
Use command-line arguments to replace `babelrc

Apart from that, we'll need to get users to rm -rf node_modules/ before npm install again because you'd get a You have mistakenly installed the babel package, which is a no-op error.
I'd like to merge this once I get your feedback on my comments. It should probably bump to 1.6 from here.
Given that, I'd like to try to get https://github.com/choonkending/react-webpack-node/pull/176 merged in tomorrow (because I derp-ed on the index files, check out the comment).
Thanks for contributing!!

Ah ok, I think it makes sense to just have it in cmd line args then. I tried that initially but I had issues with it not correctly ignoring the folders I specified so I just got lazy, but I changed that back now. Only annoying thing is you have to duplicate it since it is used for babel and babel-node. I put the commands next to each other in package.json so hopefully it's clear to anyone that changes it that both probably need updating.
Also, as far as I know they can just
npm uninstall babel
npm install babel-cli

which will be faster

Guys, I think now it can be removed the /server/** entry from the .eslintignore file, then we can have es6 linting in there, right?

@mjewell Awesome change! Do you mind re-basing with the latest changes from master? I hope to get this merged tonight.

Already done

Too quick! Thanks so much! I'll test this locally now before merging. Might not make it until tonight (depending on how long this train ride is) 🚅 .

Working and tested locally and in heroku.
I'll merge this and add docs tonight to remind users to
npm uninstall babel
npm install babel-cli

as you suggested.
I've always wanted to switch to es6 for server side but never got around to it.
Thank you so much for contributing @mjewell !


Change the UI and Visual Appearance of Dashboard and Login Page [ Issue #68 ]

Changes Proposed:

Move About Page Button: The About page button has been successfully relocated from the footer to the Navbar, improving navigation for our users.
Background Update: The web app's background has been changed to incorporate a gradient with animation, adding a visually appealing element and enhancing the overall design.
Dashboard Styling: Various styling modifications have been made to the dashboard, improving its visual appeal and providing a more polished and enjoyable user experience.

Before and After Preview:

Before:

https://github.com/srivastavaritik/Extraspace-Cloud/assets/91745441/4bc91bbd-23b3-43c9-812e-7f5be3a42a41
-After:
https://github.com/srivastavaritik/Extraspace-Cloud/assets/91745441/60061242-7856-4860-8a6d-484c162efc60
I kindly request a mentor to review and merge these improvements into the main repository. I am eager to discuss any further improvements or suggestions to enhance the user interface of our web application.

Someone is attempting to deploy a commit to a Personal Account owned by @srivastavaritik on Vercel.
@srivastavaritik first needs to authorize it.

I thought I had to deploy that so I attempted that, I hope that's not a problem since I'm new to contribution and did that unintentionally.🥲

Someone is attempting to deploy a commit to a Personal Account owned by @srivastavaritik on Vercel.
@srivastavaritik first needs to authorize it.

I thought I had to deploy that so I attempted that, I hope that's not a problem since I'm new to contribution and did that unintentionally.🥲

It's totally fine, I'll review this and probably merge or give suggestions on this tomorrow.

@AKD-01 please review and approve

There are some changes that you should do for successfully merging this

and please raise another pr

please do these changes at earliest @itsme-shivamkumar

Sure👍

and please raise another pr

Sure, I have created an issue #111 Kindly assign me so that I can raise a PR for the above changes. Thank You.


Filtering doesn't work when filter-delta property is specified

Hi Bertrand,
First of all, thanks for the great work behind this package!
I'm trying to retrieve the data from the USCIS Southwest Land Border Encounters by looping over all possible filter combinations in the worksheet. The problem is that I keep running into "no data dictionary present in response" warning messages when trying to set the individual filters to the desired combination even though the dashboard displays valid responses for the same filters on the web page. After a few warning messages, the scraper just dies with KeyError: 'workbookPresModel'.
My python's a bit rusty, so I'm calling your package from R using reticulate. Here's the code to reproduce the issue:
library(tidyverse)
library(reticulate)
library(rvest)

# py_install("tableauscraper", pip = TRUE)
baseurl <- "https://publicstats.cbp.gov/t/PublicFacing/views/"
ts <- import("tableauscraper")$TableauScraper()

dashboards <-
  session("https://www.cbp.gov/newsroom/stats/southwest-land-border-encounters") |>
  html_elements("param[value*='CBPSBOEnforcementActionsDashboardsJULFY21']") |>
  html_attr("value")

encountersdb <- str_c(baseurl, dashboards[1], "?:embed=y&:showVizHome=no")

ts$loads(encountersdb)
wb <- ts$getWorkbook()
ws <- wb$getWorksheet("SBO Line Graph")

combs <- ws$getFilters() |> (\(x) set_names(map(x, ~.$values), map_chr(x, ~.$column)))() |> cross_df()

data <-
  combs |>
  mutate(data =
           pmap(combs,
                function(...) {
                  params <- list(...)
                  wb <-
                    reduce2(names(params), params,
                            function(x, column, value) {
                              x$getWorksheet("SBO Line Graph")$setFilter(column, value)
                            },
                            .init = wb)
                  wb$getWorksheet("SBO Line Graph")$data |> as_tibble()
                }))

Would be appreciated if you could take the time to look into it. Or let me know if there's another way to accomplish the same result.

@galalH Thanks, there seems to be something missing in the filter-by-index implementation
One example in python would be:
from tableauscraper import TableauScraper as TS

url = "https://publicstats.cbp.gov/t/PublicFacing/views/CBPSBOEnforcementActionsDashboardsJULFY21/SBOEncounters7139?:embed=y&:showVizHome=no&:host_url=https%3A%2F%2Fpublicstats.cbp.gov%2F&:embed_code_version=3&:tabs=no&:toolbar=yes&:showAppBanner=false&:showShareOptions=%E2%80%99false%E2%80%99&:display_spinner=no&:loadOrderID=0"

ts = TS()
ts.loads(url)
wb = ts.getWorkbook()

ws = ts.getWorksheet("SBO Line Graph")
print(ws.data)

# get filters columns and values
filters = ws.getFilters()
print(filters)

# set filter value
wb = ws.setFilter('Citizenship Grouping', 'El Salvador')

# show the new data for worksheet
ws = wb.getWorksheet("SBO Line Graph")
print(ws.data)

But doesn't return any data
The current implementation doesn't deal with filter-delta type which uses these params:
filterUpdateType: filter-delta
filterAddIndices: [1]
filterRemoveIndices: [0]

The current implementation always set filterUpdateType to filter-replace:
("filterIndices", (None, json.dumps(selection))),
("filterUpdateType", (None, "filter-replace"))

I need to look at the json result to understand how to set the filterUpdateType accordinglyand how to figure out filterAddIndices and filterRemoveIndices

I randomly get the same Warning, like 1 out of 20 tries it just doesn't get the data.
Same filters applied, most times it work, but sometimes it doesn't.
It's kinda frustrating since I don't know what could be the cause....
This is the code right now
  url = "https://public.tableau.com/views/ExcessoObitos-confernciadedados/ExcessodebitosRevisado"
  ts = TS()

  i = 0
  df = pd.DataFrame()

  while i<=5 & df.empty:
      ts.loads(url)
      wb = ts.getWorkbook()
      ws = wb.getWorksheet("Curva UF")

      df = ws.data
      i += 1

      if df.empty:
          time.sleep(5*60)

@rodrigues-pedro could you create another issue about it ?
I've just implemented the filter-delta that checks the selected option in the filter configuration (if any selection exists) and removes those selection index and add the filter index:

I've also added the possibility to input an array of filter to setFilter, it will correctly deal with multiple filter index when using filter-replace or filter delta
Example:
from tableauscraper import TableauScraper as TS

url = "https://publicstats.cbp.gov/t/PublicFacing/views/CBPSBOEnforcementActionsDashboardsJULFY21/SBOEncounters7139"

ts = TS()
ts.loads(url)
wb = ts.getWorkbook()

ws = ts.getWorksheet("SBO Line Graph")
print(ws.data)

# get filters columns and values
filters = ws.getFilters()
print(filters)

# set filter value
wb = ws.setFilter('Citizenship Grouping', 'El Salvador', filterDelta=True)

# show the new data for worksheet
ws = wb.getWorksheet("SBO Line Graph")
print(ws.data)

wb = ws.setFilter('Citizenship Grouping', 'Guatemala', filterDelta=True)

# show the new data for worksheet
ws = wb.getWorksheet("SBO Line Graph")
print(ws.data)

wb = ws.setFilter('Citizenship Grouping', [
                  'Guatemala', 'El Salvador'], filterDelta=True)

# show the new data for worksheet
ws = wb.getWorksheet("SBO Line Graph")
print(ws.data)

Try this on repl.it
released in v0.1.21


Fe: Search enhancement

Currently has images videos music and avatars, with images selected by default. What if user wanted to search everything?

What if user wanted to search multiple categories, would checkboxes be better than the icons then?
Some inspiration from other search interfaces:

When I search for a filetype is brings up that result. When I search a filename it won't bring up results unless its the exact filename.


Update opencv_face_detect.py

Not increasing will cause opencv to fail to display.

Hi, thank you for this PR. Could you perhaps explain a little more why it's necessary and what happens if you don't have it? I only ask because the script works for me as it stands (and so far as I know, for most other people too), so I'm just curious to understand what might be happening. Thanks!

Because I can't upload pictures here, so I upload it to a website.
When I don't increment waitKey :
https://ibb.co/nn15bw9
I printed the data and it does exist, but opencv just shows a black window
https://ibb.co/1nTZLYQ
When I increase waitKey after
https://ibb.co/5hwVT8Q
normal work
https://ibb.co/p45NL09
I guess this won't show up on all devices, but it's definitely a possible problem.

Thanks for the extra info. What kind of Pi are you using, by the way, and what kind of camera? I'm just wondering if the issue could be that the system is so busy, that it never actually manages to do the work to render the image. Does it have any effect if you use something like time.sleep(0.01) instead of cv2.waitKey(1)?

I am using a raspberry pi4 4G and the camera used is the official imx219.
https://ibb.co/Xy9s90Z
I'm using a fresh image and I haven't done any extra background work.
I followed your advice time.sleep(0.01) instead of cv2.waitKey(1), nothing worked.
https://ibb.co/VvTbJgG

I'm not an expert in opencv, so I'm not sure what's going on, this solution is what I searched in google.
I found a possible reason
https://stackoverflow.com/questions/44854699/why-does-the-cv2-imshow-does-not-render-without-cv2-waitkey

Hi, thanks for the update. Honestly I'm a bit baffled by all this. It's not that I mind the change, it's just that I can't see a reason for it and I can't reproduce the problem. Here's what I know.
I too read quite a lot of stuff about OpenCV, and there's lots about cv2.waitKey. My interpretation of everything that I read was that it shouldn't be necessary if you use cv2.startWindowThread first, but it's difficult to find a very clear answer on this. (And if anyone else reading this knows a definitive answer, please say!!)
I've run this example on a fresh install (Raspberry Pi OS, 64-bit full version), I've run it locally and via VNC (as you are doing), also using the imx219, but I can't make it go wrong. I also notice some strange messages on your screen shot:

The ERROR DelayedControls message looks like quite a serious error, and I don't understand how that can happen.
You also have some Qt errors further down, and I don't see these either.

That first message lists the number 0x009a090a, and when I look that up it seems to correspond to V4L2_CID_FOCUS_ABSOLUTE. I am suspecting that these are not standard Raspberry Pi versions of software - perhaps you could confirm that for me. Could you say exactly what you are running? Thank you!

I restarted and burned a brand new system again, and the problem did not exist. It's amazing, I kept all the old environments, I think I'll look into this stuff more when I have time.

Anyway, thanks for your reply

Thanks for the update. I'll close this for now then but do let us know if you ever find out why it behaved strangely!


config-path should allow pointing to a file

As well as (or instead of) a directory.
I'm also not sure if it is a good idea to walk up from the given directory. That seems like a good idea for the default directory, but not for a specified one.

Yes. I was very confused because I wanted to say --config-path rfc-format.toml and it didn't work and didn't provide an error, just kept using the defaults.
I'd suggest that if I say "use this file", it better use that file or else blow up real loud.


fix: account for multiple times wrapped functions

This PR checks if any wrapped-level of the client.chat.completions.create is async. Note, that AsyncClient().chat.completions.create is already wrapped when using it directly from OpenAI.

:rocket: This PR description was created by Ellipsis for commit 1dd6da2b29df0f6834af924b9eb9bcada86e1608.

Summary:
This PR enhances the is_async function in instructor/patch.py to correctly identify asynchronous functions even when they are wrapped multiple times.
Key points:

Modified the is_async function in instructor/patch.py to account for multiple levels of wrapped functions.
The function now iteratively checks each level of wrapped functions to see if any are asynchronous.

Generated with :heart: by ellipsis.dev

CC: @jxnl

this is great can you add a test before we merge this?

added two tests. does this look good @jxnl ?


"undefined is not a function (evaluating 'a.addEventListener(b,c)')","name":"TypeError"}

Issue:
Got an exception when tried to add listener to db.
"undefined is not a function (evaluating 'a.addEventListener(b,c)')","name":"TypeError"}
How to reproduce on Safari of iOS 8/9:
var server;
db.open({
    server: 'my-app',
    version: 1,
    schema: {
        people: {
            key: {keyPath: 'id', autoIncrement: true},
            // Optionally add indexes
            indexes: {
                firstName: {},
                answer: {unique: true}
            }
        }
    }
}).then(function (s) {
    server = s;
   // The line will throw error
    server.addEventListener('versionchange', function(e) {
    });
});

I didn't think indexedDB was really classed as supported until iOS 10. According to caniuse.com indexeddb on 8/9 was marked as very unstable.
That said, looking at your sample code above the type of s in the resolved promise isn't an IndexedDB type, it's the Server type used internally by db.js, which doesn't expose that function, hence the error you're receiving.
Instead you need to call the getIndexedDB function to return the raw IndexedDB object.
That said, your code wouldn't work anyway as the promise will be resolved after the versionchange event has fired, it's captured here: https://github.com/aaronpowell/db.js/blob/master/src/db.js#L780 and I don't think there's anywhere I expose a hook into that event.

@aaronmccall Thanks for your clarifying. By tracing the code, I found  the server.addEventListener() actually just forwards the event binding to the raw IndexedDB object at: https://github.com/aaronpowell/db.js/blob/master/src/db.js#L620
And just the line caused the exception: the raw IndexedDB doesn't support the method addEventListener()! Then I changed to db['on' + eventName] = handler;, it works.
So here is the fix:
        this.addEventListener = function (eventName, handler) {
            if (!serverEvents.includes(eventName)) {
                throw new Error('Unrecognized event type ' + eventName);
            }
           const errorHandler =  function (e) {
                    e.preventDefault(); // Needed by Firefox to prevent hard abort with ConstraintError
                    handler(e);
            };
            const h = eventName === 'error' ? errorHandler : handler;
             if (db.addEventListner) {
                 db.addEventListener(eventName, h);
             } else {
                 db['on' + eventName] = h;
             }
        };

        this.removeEventListener = function (eventName, handler) {
            if (!serverEvents.includes(eventName)) {
                throw new Error('Unrecognized event type ' + eventName);
            }
            if (db.removeEventListener) {
                 db.removeEventListener(eventName, handler);
             } else {
                 db['on' + eventName] = null;
             }
        };

Oh, I didn't know I exposed that functionality. Well there you go ey!
TBH I'm hesitant to add this change without understanding the underlying cause properly. I'd be quite shocked that a browser didn't support addEventListener on the indexedDB object needs to inherit from EventTarget, which all implementations did.
Also using the on<eventName> approach is not that great, you can only assign a single event listener to that event.


chicagoboss seems not support map update ?

Hi!
When I update a map data in controller, I got some error,
test_map() ->
    M = #{a => 1},
%%    M1 = M#{a := 2}，
    M1 = M#{a := 2},
    M1.

Error:
Unhandled Error: error:function_clause Stacktrace: [{boss_db_pmod_pt,expr,[{map_field_exact,91,{atom,91,a},{integer,91,2}},
{pmod,['Req'],
{7,
……
{{test_map,0},nil,nil}}}}}],[{file,"src/boss_db_pmod_pt.erl"},{line,296}]},{boss_db_pmod_pt,expr_list,2,[{file,"src/boss_db_pmod_pt.erl"},{line,434}]},{boss_db_pmod_pt,expr,2,[{file,"src/boss_db_pmod_pt.erl"},{line,323}]},{boss_db_pmod_pt,expr,2,[{file,"src/boss_db_pmod_pt.erl"},{line,415}]},{boss_db_pmod_pt,exprs,2,[{file,"src/boss_db_pmod_pt.erl"},{line,292}]},{boss_db_pmod_pt,exprs,2,[{file,"src/boss_db_pmod_pt.erl"},{line,293}]},{boss_db_pmod_pt,clause,2,[{file,"src/boss_db_pmod_pt.erl"},{line,264}]},{boss_db_pmod_pt,clauses,2,[{file,"src/boss_db_pmod_pt.erl"},{line,256}]}]
in master branch.
thanks :)

I guess the problem is probably with your code. The second comma is something else? Here is a Unicode conversion of your code (Unicode U+hex notation) :-
test_map() ->
    M = #{a => 1},
    M1 = M#{a := 2}U+FF0C
    M1.

Thanks, kislayentronic  :)
Eh.. I think I made a mistake in my question post .
The controller code without U+FF0C has the map_field_exact error yet.

Oh, ok.
I can only suggest upgrade boss_db if its not the latest. For the rest, I guess the problem is probably with parameterized module parsing.

:+1:   thank you ! I'll try and comment at boss_db.


How do I tell pylance about variables that will be defined in the calling environment?

I'm writing some "extra_scripts" for a PlatformIO project. These "scripts" are Python files.
They use "Construction Environments" to "Import" a couple global variables.
I'm new to Python and not sure if these terms mean something more that they imply, but I'm not seeing how I can let pylance know that Import, env, and projenv and not "undefined variables". I'm currently getting a reportUndefinedVariable when I start a Hello World script that otherwise works fine:
Import("env")
import configparser

config = configparser.ConfigParser()
config.read(env["PROJECT_CONFIG"])

port = config["env:" + env["PIOENV"]]["monitor_port"]

def before_upload(source, target, env):
    print("Hello, world")
    print(port)

env.AddPreAction("upload", before_upload)

I'm not looking to turn off the reportUndefinedVariable warning in general, just tell pylance that there are some globals it should know about.
I looked through the extension options but didn't see anything that clearly did what I wanted. Maybe the ./typings directory?
Thanks for the look.

The symbol Import (with a capital I) is not built in to Python. I'm guessing that this script is loaded by another script that's dynamically injecting this symbol into the module's namespace. The call to Import("env") apparently injects another symbol called env into the global namespace. This is highly unusual and an antipattern, but it is possible to do this form of manipulation in Python, which is a very dynamic language. Tools like pylance have no knowledge of these behind-the-scenes manipulation of the global namespace. That explains the errors you're seeing.
Your options are:

Simply ignore the errors when you're using scripts for this environment
Disable reportUndefinedVariable errors for your workspace using pylance's "python.analysis.diagnosticSeverityOverrides" setting
Use # type: ignore comments at the end of each line to suppress errors on that line
Add the following at the top of your script. This tells pylance about the symbols that are being dynamically injected into your script's global namespace.

from typing import Any, TYPE_CHECKING

if TYPE_CHECKING:
    Import: Any = None
    env: Any = {}

@erictraut Thank you. The extra code worked well.
I agree that this felt like an anti-pattern and I was assuming I'd have to do some hack to get it to work.
While it is an anti-pattern, is this something that pylance should support? Or maybe there is a way for PlatformIO to configure pylance and tell it about these extra symbols? Is there a way for me to put that typing in ./typings?

The only way to achieve this at the moment is to copy all of typeshed, modify builtins.pyi to your needs, then configure Pylance to use that copy of typeshed. Not exactly the most maintainable compared to the above, unfortunately.