Use LIEF with Python for introspection of executable files.
python print_imports.py $Env:WINDIR/System32/notepad.exe| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = [ | |
| # "gemini3d", | |
| # "numpy", | |
| # "matplotlib", | |
| # "xarray", | |
| # ] | |
| # /// | |
| """ |
Use LIEF with Python for introspection of executable files.
python print_imports.py $Env:WINDIR/System32/notepad.exedir "%CMPLR_ROOT%\bin\*.exe" /b /a-daocl-ioc64.exe
deftofd.exe
dpcpp-cl.exe
dpcpp.exe
fpp.exeDemonstrates use of concurrent.futures.ThreadPoolExecutor and asyncio.Semaphore in separate examples to check outbound port connectivity.
In both examples, the maximum number of concurrent connections is limited to 5 (user option). This examples shows that Asyncio using
| %amsnr: SNR in AM systems | |
| % | |
| %This code contains functions to generate a message signal, amplitude | |
| %modulate a carrier and detect the message using envelope detection. | |
| % | |
| %Homework: Write code to perform SNR analysis as discussed in homework | |
| %5. Additional information is available in the comments below. | |
| % | |
| % Last modified: 2009-April-07 | |
| % |
| function aud = SSBdemod(modeDemod, fc) | |
| %k = [55e3 65e3]; %sample range to use | |
| k = [1 .2e6-1]; | |
| figure(1) | |
| hT = subplot(3,1,1); | |
| hD = subplot(3,1,2); | |
| hF = subplot(3,1,3); |
There are a few node types on BU SCC that are designed for MPI jobs. The job script syntax can be used for interactive session start.
qrsh -pe mpi_28_tasks_per_node 56| cmake_minimum_required(VERSION 3.20) | |
| project(mini LANGUAGES Fortran) | |
| message(STATUS "CMAKE Generator: ${CMAKE_GENERATOR}") | |
| add_executable(mini mini.F) |